Refactor #6435 - Button

pull/6439/head
tugcekucukoglu 2024-09-19 11:00:00 +03:00
parent 04a89d2511
commit 14b2373812
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<span v-if="icon" :class="[cx('icon'), icon, iconClass]" v-bind="ptm('icon')"></span>
</slot>
<span :class="cx('label')" v-bind="ptm('label')">{{ label || '&nbsp;' }}</span>
<Badge v-if="badge" :value="badge" :class="badgeClass" :severity="badgeSeverity" :unstyled="unstyled" v-bind="ptm('pcBadge')"></Badge>
<Badge v-if="badge" :value="badge" :class="badgeClass" :severity="badgeSeverity" :unstyled="unstyled" :pt="ptm('pcBadge')"></Badge>
</slot>
</component>
<slot v-else :class="cx('root')" :a11yAttrs="a11yAttrs"></slot>