Sha256: c51d5473455a4d11ceec3a6a90e2b3d57450d9603b5154605df2032ae92ae150

Contents?: true

Size: 227 Bytes

Versions: 22

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

class Avo::PanelNameComponent < Avo::BaseComponent
  renders_one :body

  prop :name
  prop :url
  prop :target, default: :self do |value|
    value&.to_sym
  end
  prop :classes, default: ""
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
avo-3.16.5 app/components/avo/panel_name_component.rb
avo-3.16.4 app/components/avo/panel_name_component.rb
avo-3.16.3 app/components/avo/panel_name_component.rb
avo-3.16.2 app/components/avo/panel_name_component.rb
avo-3.16.1 app/components/avo/panel_name_component.rb
avo-3.16.0 app/components/avo/panel_name_component.rb
avo-3.15.7 app/components/avo/panel_name_component.rb
avo-3.15.6 app/components/avo/panel_name_component.rb
avo-3.15.5 app/components/avo/panel_name_component.rb
avo-3.15.4 app/components/avo/panel_name_component.rb
avo-3.15.3 app/components/avo/panel_name_component.rb
avo-3.15.2 app/components/avo/panel_name_component.rb
avo-3.15.1 app/components/avo/panel_name_component.rb
avo-3.15.0 app/components/avo/panel_name_component.rb
avo-3.14.5 app/components/avo/panel_name_component.rb
avo-3.14.4 app/components/avo/panel_name_component.rb
avo-3.14.3 app/components/avo/panel_name_component.rb
avo-3.14.2 app/components/avo/panel_name_component.rb
avo-3.14.1 app/components/avo/panel_name_component.rb
avo-3.14.0 app/components/avo/panel_name_component.rb