{# @description One item of a dock, used inside dock. Renders as a label that toggles a drawer when toggle is given, as a link when href is given, and as a button otherwise. An item with an icon and no label is named by an aria-label passed by the caller. #}
{# @prop active:boolean | description:"Mark this item as the current destination." #}
{# @prop icon:text | description:"Icon shown above the label, passed as the name of the icon component." #}
{# @prop label:text | description:"Text shown under the icon." #}
{# @prop href:text | description:"Link address. Ignored when toggle is given." #}
{# @prop toggle:text | description:"Id of a drawer checkbox this item flips, such as the sidebar toggle." #}
{# @prop class:text | description:"Extra classes added to the item." #}
{% load i18n %}
{% if toggle %}
{% elif href %}
{% if icon %}{% endif %}
{% if label %}{{ label }}{% endif %}
{% else %}
{% endif %}