Method: Tabs::Component#initialize
- Defined in:
- app/components/lookbook/tabs/component.rb
#initialize(theme: :toolbar, **html_attrs) ⇒ Component
Returns a new instance of Component.
16 17 18 19 20 |
# File 'app/components/lookbook/tabs/component.rb', line 16 def initialize(theme: :toolbar, **html_attrs) @theme = theme @tab_counter = 0 super(**html_attrs) end |