12 lines
308 B
Twig
12 lines
308 B
Twig
<div {{ attributes }} class="{{ this.finalClasses }}">
|
|
{% if this.icon %}
|
|
<twig:ux:icon name="{{ this.icon }}" class="size-4" />
|
|
{% endif %}
|
|
|
|
{% if block('content') is not empty %}
|
|
{% block content %}{% endblock %}
|
|
{% else %}
|
|
{{- this.label -}}
|
|
{% endif %}
|
|
</div>
|