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.0.0.pre.alpha4 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.0.0.pre.alpha3 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.0.0.pre.alpha2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.3.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.2.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.2.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-7.0.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.1.0.pre.alpha5 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.1.0.pre.alpha4 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.1.0.pre.alpha3 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.1.0.pre.alpha2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.1.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.1.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-6.0.1.pre.alpha6 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb