feat(ui-shell): make SideNavMenuItem text slottable

This commit is contained in:
Eric Y Liu 2021-03-12 16:05:46 -08:00
commit bee8b521ca
6 changed files with 26 additions and 8 deletions

View file

@ -30,6 +30,6 @@
{...$$restProps}
on:click
>
<span class:bx--side-nav__link-text="{true}">{text}</span>
<span class:bx--side-nav__link-text="{true}"><slot>{text}</slot></span>
</a>
</li>