Sha256: 856481d1bb5b598fc96e7a6089ecdd55ce202b9ff9f85d4c7200801549ba0996
Contents?: true
Size: 646 Bytes
Versions: 19
Compression:
Stored size: 646 Bytes
Contents
# frozen_string_literal: true module Playbook module PbIconCircle class IconCircle < Playbook::KitBase prop :icon, required: true prop :emoji, type: Playbook::Props::String, default: "" prop :size, type: Playbook::Props::Enum, values: %w[xs sm md base lg xl], default: "md" prop :variant, type: Playbook::Props::Enum, values: %w[default royal blue orange purple teal red yellow green], default: "default" def classname generate_classname("pb_icon_circle_kit", size, variant) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems