Dialog pt updates

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-03 17:16:11 +03:00
parent d50cd9931d
commit df2505a697
3 changed files with 22 additions and 14 deletions

View file

@ -32,11 +32,10 @@
@click="close"
:aria-label="closeAriaLabel"
type="button"
:pt="ptm('closeButton')"
v-bind="closeButtonProps"
v-bind="{ ...closeButtonProps, ...ptm('closeButton') }"
>
<slot name="closeicon">
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="['p-dialog-header-close-icon', closeIcon]" v-bind="ptm('closeButton')['icon']"></component>
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="['p-dialog-header-close-icon', closeIcon]" v-bind="ptm('closeButtonIcon')"></component>
</slot>
</button>
</div>