Sha256: 295fc11d3041984b5e1f00c23ef35c96210a58737b8575a9ef12d14ffacb7e4f
Contents?: true
Size: 614 Bytes
Versions: 1075
Compression:
Stored size: 614 Bytes
Contents
# frozen_string_literal: true module Playbook module PbPill class Pill < Playbook::KitBase prop :text prop :variant, type: Playbook::Props::Enum, values: %w[success warning error info neutral primary], default: "neutral" prop :text_transform, type: Playbook::Props::Enum, values: %w[none lowercase], default: "lowercase" def classname generate_classname("pb_pill_kit", variant, text_transform) end def display_text object.text end end end end
Version data entries
1,075 entries across 1,075 versions & 1 rubygems