{% sw_extends '@Storefront/storefront/utilities/offcanvas.html.twig' %}

{% block utilities_offcanvas_close %}
    <button class="btn btn-primary text-white offcanvas-close js-offcanvas-close">
        {% block utilities_offcanvas_close_icon %}
            {% sw_icon 'x' style { 'size': 'sm' } %}
        {% endblock %}

        {% block utilities_offcanvas_close_text %}
            {{ "general.offcanvasCloseMenu"|trans|sw_sanitize }}
        {% endblock %}
    </button>
{% endblock %}