Add icon slot in fancy buttons
This commit is contained in:
parent
3ba6b134fc
commit
415a3fbae2
|
@ -14,6 +14,7 @@
|
|||
<Icon name={icon} />
|
||||
{/if}
|
||||
{/if}
|
||||
<slot name="icon" />
|
||||
<div>
|
||||
<slot />
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue