Sha256: b91a78c99830582e779500777074176e16bd8070c2bdc8d283ff08b921f12103
Contents?: true
Size: 667 Bytes
Versions: 88
Compression:
Stored size: 667 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[xxs 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_#{size}", variant) end end end end
Version data entries
88 entries across 88 versions & 1 rubygems