{{ attach_library('ui_patterns/jc_statusicon.jc_statusicon_lib') }}

{# VARIABLES #}
{% set status = data.status|default("good") %}
{% set icon_left = icon_left|default(null) %}
{% set pass_through = data.passThrough|default({}) %}

{# Status mapping #}
{% import "@protons/macros/status.macros.twig" as status_macros %}

{# TEMPLATE #}
{{ status_macros.status(status, icon_left, null, 'jcsi') }}
