Class: ButtonGroup::Component
- Inherits:
-
Lookbook::BaseComponent
- Object
- Lookbook::BaseComponent
- ButtonGroup::Component
- Defined in:
- app/components/lookbook/button_group/component.rb
Instance Method Summary collapse
-
#initialize(size: :md, **html_attrs) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(size: :md, **html_attrs) ⇒ Component
Returns a new instance of Component.
12 13 14 15 |
# File 'app/components/lookbook/button_group/component.rb', line 12 def initialize(size: :md, **html_attrs) @size = size super(**html_attrs) end |