Render icon
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user