class Playbook::PbFormPill::FormPill

def classname

def classname
  generate_classname("pb_form_pill_kit", color, icon_class, name, text, text_transform)
end

def close_icon_size

def close_icon_size
  size == "small" ? "xs" : "sm"
end

def display_text

def display_text
  object.text
end

def icon_class

def icon_class
  icon ? "icon" : nil
end

def size_class

def size_class
  size == "small" ? " small" : ""
end