Method: Anchor::Panel::HeaderComponent#initialize

Defined in:
app/components/anchor/panel/header_component.rb

#initialize(active:, **kwargs) ⇒ HeaderComponent

Returns a new instance of HeaderComponent.



4
5
6
7
8
# File 'app/components/anchor/panel/header_component.rb', line 4

def initialize(active:, **kwargs)
  @active = active

  super(**kwargs)
end