Sha256: 504581fd1f822593ad5bfc65fc8d8fef68f5cc39eba2411d25203d37de61de16
Contents?: true
Size: 427 Bytes
Versions: 48
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true module Playbook module PbFormPill class FormPill < Playbook::KitBase prop :avatar_url prop :name prop :text prop :size def classname generate_classname("pb_form_pill_kit", "primary", name, text) end def display_text name.downcase end def size_class size == "small" ? " small" : "" end end end end
Version data entries
48 entries across 48 versions & 1 rubygems