Sha256: ed646f8909ea9d24773795441e753e9058f9e04ff7b2343480be086da60bf174
Contents?: true
Size: 709 Bytes
Versions: 5
Compression:
Stored size: 709 Bytes
Contents
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
Version data entries
5 entries across 5 versions & 1 rubygems