Class: NitroKit::Input
- Defined in:
- app/components/nitro_kit/input.rb
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
Methods inherited from Component
#data_merge, #initialize, #merge, merge
Constructor Details
This class inherits a constructor from NitroKit::Component
Instance Method Details
#view_template ⇒ Object
9 10 11 12 13 14 |
# File 'app/components/nitro_kit/input.rb', line 9 def view_template input( **attrs, class: merge(INPUT, attrs[:class]) ) end |