Class: Koi::HeaderComponent

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
HeaderHelper
Defined in:
app/components/koi/header_component.rb

Defined Under Namespace

Classes: LinkComponent

Instance Method Summary collapse

Methods included from HeaderHelper

#actions_list, #breadcrumb_list, #link_to_archive_or_delete, #link_to_delete

Constructor Details

#initialize(title:) ⇒ HeaderComponent

Returns a new instance of HeaderComponent.



10
11
12
13
14
# File 'app/components/koi/header_component.rb', line 10

def initialize(title:)
  super()

  @title = title
end