Sha256: 6374976db584eef3fb21dc30ab9be87d88dd83f99e10e426830f76274e8b33ab
Contents?: true
Size: 823 Bytes
Versions: 15
Compression:
Stored size: 823 Bytes
Contents
module Coco module App module Blocks class Header < Coco::Component renders_one :primary_nav, ->(**kwargs) do Coco::App::Elements::ButtonGroup.new( theme: :text_neutral_light, collapsible: false, size: :xs, **kwargs ) end renders_one :secondary_nav, ->(**kwargs) do Coco::App::Elements::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
15 entries across 15 versions & 1 rubygems