1
0
Fork 0
mirror of synced 2024-08-15 18:11:40 +12:00

Add icon slot in fancy buttons

This commit is contained in:
Andrew Kingston 2023-01-30 08:16:20 +00:00
parent 3ba6b134fc
commit 415a3fbae2

View file

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