mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor #4265
This commit is contained in:
parent
2af5281a56
commit
46be178eb3
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
<span v-if="loadingIcon" :class="[cx('loadingIcon'), cx('icon'), loadingIcon]" v-bind="ptm('loadingIcon')" />
|
||||
<SpinnerIcon v-else :class="[cx('loadingIcon'), cx('icon')]" spin v-bind="ptm('loadingIcon')" />
|
||||
</slot>
|
||||
<slot v-else name="icon" :class="[cx('icon'), icon, iconClass]">
|
||||
<slot v-else name="icon" :class="[cx('icon')]">
|
||||
<span v-if="icon" :class="[cx('icon'), icon, iconClass]" v-bind="ptm('icon')"></span>
|
||||
</slot>
|
||||
<span :class="cx('label')" v-bind="ptm('label')">{{ label || ' ' }}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue