Sha256: bc4eafc402bcfb9f0a0bbf6d6999d91e171619b6c7c7eef137403fc5c1e9dccb

Contents?: true

Size: 464 Bytes

Versions: 204

Compression:

Stored size: 464 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbIconValue
    class IconValue
      include Playbook::Props

      partial "pb_icon_value/icon_value"

      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

204 entries across 204 versions & 1 rubygems

Version Path
playbook_ui-7.0.1.pre.alpha9 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.5.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.5.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.1.pre.alpha8 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.1.pre.alpha7 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.1.pre.alpha6 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.1.pre.alpha5 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.1.pre.alpha4 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.1.pre.alpha3 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.1.pre.alpha2 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.4.2 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.1.pre.alpha1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.0.pre.alpha9 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.0.pre.alpha8 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.0.pre.alpha7 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.4.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.0.pre.alpha6 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.0.pre.alpha5 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.4.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.3.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb