Sha256: dd3130c6d6a522b59388996f60f3e02fdabf54698644dd1b6328eef57157328d
Contents?: true
Size: 671 Bytes
Versions: 27
Compression:
Stored size: 671 Bytes
Contents
# frozen_string_literal: true module Playbook module PbIconButton class IconButton < ::Playbook::KitBase prop :type, type: Playbook::Props::Enum, values: %w[button submit reset], default: "button" prop :icon, required: false, default: "bars" prop :link prop :new_window, type: Playbook::Props::Boolean, default: false prop :target prop :variant, type: Playbook::Props::Enum, values: %w[default link], default: "default" def classname generate_classname("pb_icon_button_kit", variant) end end end end
Version data entries
27 entries across 27 versions & 1 rubygems