<!-- Button item -->
<button type="button" class="dropdown-item ">
Item text
</button>
<!-- {{ href is defined ? 'Link' : 'Button' }} item -->
<{{ href is defined ? 'a href="' ~ href ~ '"' : 'button type="button"' }} {{ external and href ? 'target="_blank" rel="noopenner noreferer"' }} class="dropdown-item {{ dropdownItemClass|default('') }}">
{% block leading_icon %}
{% if (type == 'leading-icon' ) %}
{% render "@icons-" ~ icon.name|default("library--user-team") with {size: icon.size,iconClass: icon.class} %}
{% endif %}
{% endblock %}
{{ label }}
</{{ href is defined ? 'a' : 'button' }}>
{
"label": "Item text"
}
No notes defined.