Sha256: 6e79b5a7c46dc94c2bc20fca49844ded2c119432bfd178daa11431f5eaa9f251
Contents?: true
Size: 625 Bytes
Versions: 18
Compression:
Stored size: 625 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], default: "div" prop :text prop :variant, type: Playbook::Props::Enum, values: [nil, "link"], default: nil def classname generate_classname("pb_caption_kit", size, variant) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems