Class: TabPanels::Panel::Component

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

Instance Method Summary collapse

Constructor Details

#initialize(name:, **html_attrs) ⇒ Component

Returns a new instance of Component.



3
4
5
6
# File 'app/components/lookbook/tab_panels/panel/component.rb', line 3

def initialize(name:, **html_attrs)
  @name = name
  super(**html_attrs)
end