Sha256: 027a801e3a4e5335b3264512d36fb7954a8f2e7bec584c279d5ecd2aaf7aad4e
Contents?: true
Size: 653 Bytes
Versions: 227
Compression:
Stored size: 653 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 orange], default: "default" def classname generate_classname("pb_icon_circle_kit", size, variant) end end end end
Version data entries
227 entries across 227 versions & 1 rubygems