Sha256: ba957cd170c3f785ff00affc2e3248e6eadf56f96829458f77d9a2bba92bc509

Contents?: true

Size: 348 Bytes

Versions: 15

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

module PandaCms
  module Admin
    class PanelComponent < ViewComponent::Base
      renders_one :heading, ->(text:, icon: "", level: :panel, additional_styles: "") do
        PandaCms::Admin::HeadingComponent.new(text: text, icon: icon, level: level, additional_styles: additional_styles)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
panda_cms-0.6.3 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.6.2 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.6.1 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.6.0 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.10 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.9 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.8 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.7 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.6 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.5 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.4 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.3 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.2 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.1 app/components/panda_cms/admin/panel_component.rb
panda_cms-0.5.0 app/components/panda_cms/admin/panel_component.rb