Sha256: 21a5c2bde48fdddac197c34d3f47a08c5670e1bd4cb2b97f86a692738f665662

Contents?: true

Size: 411 Bytes

Versions: 1194

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbIconValue
    class IconValue < Playbook::KitBase
      prop :text, required: true
      prop :icon, required: true
      prop :align, type: Playbook::Props::Enum,
                   values: %w[left center right],
                   default: "left"

      def classname
        generate_classname("pb_icon_value_kit", align)
      end
    end
  end
end

Version data entries

1,194 entries across 1,194 versions & 1 rubygems

Version Path
playbook_ui-9.14.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.13.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.12.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.11.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.10.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.9.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.8.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.7.0.pre.alphawidth1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.7.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.6.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.6.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.5.0.alpha.rs.downgrade app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-9.5.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb