Sha256: 2dd8a4fa19258b5e53eb0839df70e1c318c4430a657f6989f03ee153caebda18

Contents?: true

Size: 410 Bytes

Versions: 273

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

class Avo::Sidebar::HeadingComponent < ViewComponent::Base
  attr_reader :collapsable
  attr_reader :collapsed
  attr_reader :icon
  attr_reader :key
  attr_reader :label

  def initialize(label: nil, icon: nil, collapsable: false, collapsed: false, key: nil)
    @collapsable = collapsable
    @collapsed = collapsed
    @icon = icon
    @key = key
    @label = label
  end
end

Version data entries

273 entries across 273 versions & 1 rubygems

Version Path
avo-2.53.0 app/components/avo/sidebar/heading_component.rb
avo-2.52.0 app/components/avo/sidebar/heading_component.rb
avo-3.9.2 app/components/avo/sidebar/heading_component.rb
avo-3.9.1 app/components/avo/sidebar/heading_component.rb
avo-3.8.2 app/components/avo/sidebar/heading_component.rb
avo-3.9.0 app/components/avo/sidebar/heading_component.rb
avo-3.8.1 app/components/avo/sidebar/heading_component.rb
avo-3.8.0 app/components/avo/sidebar/heading_component.rb
avo-3.6.4 app/components/avo/sidebar/heading_component.rb
avo-3.6.3 app/components/avo/sidebar/heading_component.rb
avo-3.6.2 app/components/avo/sidebar/heading_component.rb
avo-2.49.0 app/components/avo/sidebar/heading_component.rb
avo-3.6.1 app/components/avo/sidebar/heading_component.rb
avo-3.6.0 app/components/avo/sidebar/heading_component.rb
avo-3.5.8 app/components/avo/sidebar/heading_component.rb
avo-3.5.7 app/components/avo/sidebar/heading_component.rb
avo-3.5.6 app/components/avo/sidebar/heading_component.rb
avo-3.5.6.beta1 app/components/avo/sidebar/heading_component.rb
avo-3.5.5 app/components/avo/sidebar/heading_component.rb
avo-3.5.4 app/components/avo/sidebar/heading_component.rb