Allow custom HTML for HeaderNavItem with slot

This commit is contained in:
Pierre 2023-03-17 14:50:14 +01:00 committed by GitHub
commit bca58f75c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,6 @@
}
}}"
>
<span class:bx--text-truncate--end="{true}">{text}</span>
<span class:bx--text-truncate--end="{true}"><slot>{text}</slot></span>
</a>
</li>