module Coco module App class Header < Coco::Component renders_one :primary_nav, ->(**kwargs) do Coco::ButtonGroup.new( theme: :text_neutral_light, collapsible: false, size: :xs, **kwargs ) end renders_one :secondary_nav, ->(**kwargs) do Coco::ButtonGroup.new( theme: :text_neutral_light, collapsible: false, size: :xs, **kwargs ) end renders_one :mobile_nav, ->(**kwargs) do Coco::App::NavDrawer.new(**kwargs) end attr_reader :home_path def initialize(home_path: nil, **) @home_path = home_path end end end end