Refactor #4024 - For SplitButton

pull/4030/head
Tuğçe Küçükoğlu 2023-06-05 13:18:48 +03:00
parent 3dbe46872c
commit c035108033
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template>
<div :class="containerClass" :style="style" v-bind="ptm('root')" data-pc-name="splitbutton" :data-pc-severity="severity">
<slot>
<PVSButton type="button" :class="cx('button')" :label="label" :disabled="disabled" :aria-label="label" @click="onDefaultButtonClick" :unstyled="unstyled" :pt="ptm('button')" v-bind="buttonProps">
<PVSButton type="button" :class="cx('button')" :label="label" :disabled="disabled" :aria-label="label" @click="onDefaultButtonClick" :unstyled="unstyled" v-bind="{ ...buttonProps, ...ptm('button') }">
<template #icon="slotProps">
<slot name="icon">
<span :class="[icon, slotProps.class]" v-bind="ptm('button')['icon']" />