Sha256: 3b79dd7d2545f5350a7443bda543b5340bc9f9180448a1f1cde9afeb8b353c97
Contents?: true
Size: 438 Bytes
Versions: 119
Compression:
Stored size: 438 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" def classname generate_classname("pb_pill_kit", variant) end def display_text text.downcase end end end end
Version data entries
119 entries across 119 versions & 1 rubygems