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.14.0.pre.alpha1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.16.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.15.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.15.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.14.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.13.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.12.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.12.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.11.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.11.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_icon_value/icon_value.rb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_icon_value/icon_value.rb