Sha256: 86299344f4579f0939c925078072001233ac365ec86f56d6410929e9f7dfa891
Contents?: true
Size: 468 Bytes
Versions: 9
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Primer module Forms module Dsl # :nodoc: class CheckBoxInput < Input attr_reader :name, :label def initialize(name:, label:, **system_arguments) @name = name @label = label super(**system_arguments) end def to_component CheckBox.new(input: self) end def type :check_box end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems