Sha256: a7a363904742b1e34e2f0682d792f631ae04ca52058b29171b52f802d233e645
Contents?: true
Size: 755 Bytes
Versions: 27
Compression:
Stored size: 755 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 def classname generate_classname("pb_circle_icon_button_kit") end end end end
Version data entries
27 entries across 27 versions & 1 rubygems