Sha256: 79ae15d8385d97620f6adeabd9a1f4c926a19cbb3b6ffecfa22f6644a3722841
Contents?: true
Size: 793 Bytes
Versions: 7
Compression:
Stored size: 793 Bytes
Contents
module Coco module App module Blocks 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::Blocks::NavDrawer.new(**kwargs) end attr_reader :home_path def initialize(home_path: nil, **) @home_path = home_path end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems