Add icon slot in fancy buttons
This commit is contained in:
parent
3ba6b134fc
commit
415a3fbae2
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
<Icon name={icon} />
|
<Icon name={icon} />
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
<slot name="icon" />
|
||||||
<div>
|
<div>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue