Sha256: cbb3ba50e6616ce7b338e8a0b3e94b803550586a481988756b80f2caa5a39dea

Contents?: true

Size: 620 Bytes

Versions: 12

Compression:

Stored size: 620 Bytes

Contents

module Playbook
  module PbCircleIconButton
    class CircleIconButton
      include Playbook::Props

      partial "pb_circle_icon_button/circle_icon_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 :dark, type: Playbook::Props::Boolean,
                     default: false

      def classname
        generate_classname("pb_circle_icon_button_kit")
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
playbook_ui-4.1.2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-4.1.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-4.1.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-4.0.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-4.0.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-3.5.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-3.4.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-3.3.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-3.2.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-3.1.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-3.0.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-3.0.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb