mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed #4301 - Dialog: Icon classes not being correctly exposed
This commit is contained in:
parent
6afad4b9ee
commit
13019b4816
2 changed files with 13 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
v-bind="ptm('maximizableButton')"
|
||||
data-pc-group-section="headericon"
|
||||
>
|
||||
<slot name="maximizeicon" :maximized="maximized">
|
||||
<slot name="maximizeicon" :maximized="maximized" :class="cx('maximizableIcon')">
|
||||
<component :is="maximizeIconComponent" :class="[cx('maximizableIcon'), maximized ? minimizeIcon : maximizeIcon]" v-bind="ptm('maximizableIcon')" />
|
||||
</slot>
|
||||
</button>
|
||||
|
@ -36,7 +36,7 @@
|
|||
v-bind="{ ...closeButtonProps, ...ptm('closeButton') }"
|
||||
data-pc-group-section="headericon"
|
||||
>
|
||||
<slot name="closeicon">
|
||||
<slot name="closeicon" :class="cx('closeButtonIcon')">
|
||||
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="[cx('closeButtonIcon'), closeIcon]" v-bind="ptm('closeButtonIcon')"></component>
|
||||
</slot>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue