{% from "macros/form/attributes.html" import attributes %}
{% macro nsw_link(text='', route='', link_class='nsw-button--light-outline-solid',icon='', attrs={}, custom_icon='') %}
{% if icon %}
{{ icon }}
{% endif %}
{% if custom_icon %}
{{ custom_icon|safe }}
{% endif %}
{{ text }}
{% endmacro %}