V-if removed

pull/4339/head
Bahadır Sofuoğlu 2023-08-28 13:36:07 +03:00
parent ed62934411
commit 66d93651b9
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
:unstyled="unstyled" :unstyled="unstyled"
data-pc-section="button" data-pc-section="button"
> >
<template v-if="icon" #icon="slotProps"> <template #icon="slotProps">
<slot name="icon" :class="slotProps.class"> <slot name="icon" :class="slotProps.class">
<span :class="[icon, slotProps.class]" v-bind="ptm('button')['icon']" data-pc-section="buttonicon" /> <span :class="[icon, slotProps.class]" v-bind="ptm('button')['icon']" data-pc-section="buttonicon" />
</slot> </slot>