Public Access
Render icon
This commit is contained in:
1 parent
1b9751324b
commit
9cb7bf23a6
1 file changed
+4
@@ -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