Sha256: b1d27a510c57c2936e36f41f7b40077e3ca890c175eac5379a5b17a913bee47c

Contents?: true

Size: 777 Bytes

Versions: 114

Compression:

Stored size: 777 Bytes

Contents

module Playbook
  module PbCircleIconButton
    class CircleIconButton
      include Playbook::Props

      partial "pb_circle_icon_button/circle_icon_button"

      prop :type, type: Playbook::Props::Enum,
                  values: %w[button submit reset],
                  default: "button"
      prop :variant, type: Playbook::Props::Enum,
                     values: %w[primary secondary link],
                     default: "primary"
      prop :disabled, type: Playbook::Props::Boolean,
                     default: false
      prop :icon, required: true
      prop :link
      prop :new_window, type: Playbook::Props::Boolean,
                     default: false
      def classname
        generate_classname("pb_circle_icon_button_kit")
      end
    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.16.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.15.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.15.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.14.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.13.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.12.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.12.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.11.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.11.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb