Render icon

This commit is contained in:
brabli
2026-04-29 17:33:03 +01:00
parent 1b9751324b
commit 9cb7bf23a6
+4
View File
@@ -1,4 +1,8 @@
<div {{ attributes }} class="{{ this.finalClasses }}"> <div {{ attributes }} class="{{ this.finalClasses }}">
{% if this.icon %}
<twig:ux:icon name="{{ this.icon }}" class="size-4" />
{% endif %}
{% if block('content') is not empty %} {% if block('content') is not empty %}
{% block content %}{% endblock %} {% block content %}{% endblock %}
{% else %} {% else %}