{# @description A button that opens and closes one of its layout's sidebars. Hides itself when there is nothing to toggle. #}
{# @prop side:text | default:"left" | description:"The sidebar it controls: left or right." #}
{# @prop when:text | description:"closed shows the button only while its sidebar is out of sight, such as a menu button that gives way to the open sidebar." #}
{# @prop label:text | description:"Its accessible name. Defaults to Left sidebar or Right sidebar." #}
{# @prop class:text | description:"Classes added to the button's own." #}
{# @slot An icon. — Defaults to a sidebar icon. #}
{% load i18n %}
{% if side == "right" %}{% translate "Right sidebar" as default_label %}{% else %}{% translate "Left sidebar" as default_label %}{% endif %}