Add icon slot in fancy buttons
This commit is contained in:
parent
3c1de8f903
commit
0dc638f788
|
@ -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 New Issue