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