class Playbook::PbCollapsible::CollapsibleIcon
def classname
def classname generate_classname("pb_collapsible_icon_kit", separator: " ") end
def icon_color
def icon_color return "" if color.nil? color_object = { light: "#687887", lighter: "#C1CDD6", link: "#0056CF", success: "#00CA74", error: "#FF2229", default: "#242B42" } color_object[color.to_sym] end
def show_icon(icon)
def show_icon(icon) case icon when ::String [icon, icon] when ::Array icon end end