Sha256: be3c3d81abbe396e799f051910f740f7de543bac93e618da0474336e6ad2f002
Contents?: true
Size: 863 Bytes
Versions: 46
Compression:
Stored size: 863 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 :dark, type: Playbook::Props::Boolean, default: false 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
46 entries across 46 versions & 1 rubygems