Sha256: 971d4e556abd1bf7c715b96e2af7e397778a1e6ab4f2933c0cbcc908da73a711
Contents?: true
Size: 851 Bytes
Versions: 44
Compression:
Stored size: 851 Bytes
Contents
# frozen_string_literal: true module Playbook module PbCircleIconButton class CircleIconButton < Playbook::KitBase 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 :loading, type: Playbook::Props::Boolean, default: false prop :link prop :new_window, type: Playbook::Props::Boolean, default: false prop :target def classname generate_classname("pb_circle_icon_button_kit") end end end end
Version data entries
44 entries across 44 versions & 1 rubygems