diff --git a/templates/components/status_indicator.html.twig b/templates/components/status_indicator.html.twig index 0b83aef..4608803 100644 --- a/templates/components/status_indicator.html.twig +++ b/templates/components/status_indicator.html.twig @@ -1,13 +1,18 @@ -{% macro status_indicator(options) %} - - {% set _color = options.color ?? 'green' %} - {% set _animated = options.animated ?? true %} - {% set _extraClass = options.extraClass ?? '' %} - - - - - - - -{% endmacro %} +{% macro status_indicator(options) %} + {% import '@Tabler/includes/utils.html.twig' as utils %} + + {% set _color = options.color ?? 'green' %} + {% set _animated = (options.animated ?? true) is same as true %} + {% set _extraClass = options.extraClass ?? '' %} + {% set _attr = options.attr ?? {} %} + + + + + + + +{% endmacro %}