mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
feat(ui-shell): make SideNavMenuItem text slottable
This commit is contained in:
parent
de348f0a8c
commit
bee8b521ca
6 changed files with 26 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue