Refactor #4265
parent
2af5281a56
commit
46be178eb3
|
@ -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…
Reference in New Issue