Sha256: 4928f431f6a5a186fc83c74b69efab17756618723a7fa2afdefd9892e14fbdf6
Contents?: true
Size: 715 Bytes
Versions: 3
Compression:
Stored size: 715 Bytes
Contents
# frozen_string_literal: true module Playbook module PbCaption class Caption < Playbook::KitBase prop :size, type: Playbook::Props::Enum, values: %w[xs sm md base lg xl], default: "md" prop :tag, type: Playbook::Props::Enum, values: %w[h1 h2 h3 h4 h5 h6 p span div caption], default: "div" prop :text prop :variant, deprecated: true prop :color, type: Playbook::Props::Enum, values: [nil, "default", "light", "lighter", "success", "error", "link"], default: nil def classname generate_classname("pb_caption_kit", size, color) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems