Merge pull request #6031 from likeadeckofcards/feature/add-item-icon-slot-to-speed-dial
Add itemicon slot similar to the one in the breadcrumbs componentpull/6465/head
commit
bc1d251b6c
|
@ -48,7 +48,9 @@
|
|||
:pt="getPTOptions(`${id}_${index}`, 'pcAction')"
|
||||
>
|
||||
<template v-if="item.icon" #icon="slotProps">
|
||||
<slot name="itemicon" :item="item" :class="[slotProps.class]">
|
||||
<span :class="[item.icon, slotProps.class]" v-bind="getPTOptions(`${id}_${index}`, 'actionIcon')"></span>
|
||||
</slot>
|
||||
</template>
|
||||
</Button>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue