Class: Irelia::Table::Row::Component
- Inherits:
-
Component
- Object
- Component
- Irelia::Table::Row::Component
- Defined in:
- app/components/irelia/table/row/component.rb
Defined Under Namespace
Classes: CellComponent
Instance Method Summary collapse
-
#initialize(**options) ⇒ Component
constructor
A new instance of Component.
- #variants ⇒ Object
Constructor Details
#initialize(**options) ⇒ Component
Returns a new instance of Component.
6 7 8 |
# File 'app/components/irelia/table/row/component.rb', line 6 def initialize(**) super(**) end |
Instance Method Details
#variants ⇒ Object
10 11 12 13 14 15 |
# File 'app/components/irelia/table/row/component.rb', line 10 def variants class_names( "irelia-table__row", "irelia-table__row--default": variant == :default ) end |