Class: Irelia::Form::TextField::Component
- Inherits:
-
Base::Component
- Object
- Base::Component
- Irelia::Form::TextField::Component
- Defined in:
- app/components/irelia/form/text_field/component.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#variants ⇒ Object
4 5 6 7 8 9 |
# File 'app/components/irelia/form/text_field/component.rb', line 4 def variants class_names( "irelia-form__text-field", "irelia-form__text-field--default": variant == :default ) end |