Class: Tabs::Component

Inherits:
Lookbook::BaseComponent
  • Object
show all
Defined in:
app/components/lookbook/tabs/component.rb

Instance Method Summary collapse

Constructor Details

#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