Refactor #4024 - For SplitButton

pull/4030/head
Tuğçe Küçükoğlu 2023-06-06 11:13:07 +03:00
parent fc4ea57860
commit 1f961e0a6e
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" v-bind="{ ...buttonProps, ...ptm('button') }">
<PVSButton type="button" :class="cx('button')" :label="label" :disabled="disabled" :aria-label="label" @click="onDefaultButtonClick" :unstyled="unstyled" :pt="ptm('button')" v-bind="buttonProps">
<template #icon="slotProps">
<slot name="icon">
<span :class="[icon, slotProps.class]" v-bind="ptm('button')['icon']" />