Add icon slot in fancy buttons

This commit is contained in:
Andrew Kingston 2023-01-30 08:16:20 +00:00
parent 3c1de8f903
commit 0dc638f788
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
<Icon name={icon} />
{/if}
{/if}
<slot name="icon" />
<div>
<slot />
</div>