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.0.pre.alpha4 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.0.pre.alpha3 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.0.pre.alpha2 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.3.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.2.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.2.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.0.0.pre.alpha1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.1.0.pre.alpha5 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.1.0.pre.alpha4 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.1.0.pre.alpha3 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.1.0.pre.alpha2 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.1.0.pre.alpha1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.1.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.0.1.pre.alpha6 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.0.1.pre.alpha5 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.0.1.pre.alpha4 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.0.1.pre.alpha3 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-6.0.1.pre.alpha2 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-5.2.0.pre.alpha15 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-5.2.0.pre.alpha14 app/pb_kits/playbook/pb_icon_value/icon_value.rb