mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - For Inplace
This commit is contained in:
parent
5296fc2bd3
commit
4804652c20
2 changed files with 3 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
<IPButton v-if="closable" :aria-label="closeAriaLabel" @click="close" :pt="ptm('closeButton')" v-bind="closeButtonProps">
|
||||
<template #icon>
|
||||
<slot name="closeicon">
|
||||
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="cx('closeButton')" v-bind="ptm('closeButton')['icon']"></component>
|
||||
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="closeIcon" v-bind="ptm('closeButton')['icon']"></component>
|
||||
</slot>
|
||||
</template>
|
||||
</IPButton>
|
||||
|
@ -17,10 +17,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import BaseInplace from './BaseInplace.vue';
|
||||
import Button from 'primevue/button';
|
||||
import FocusTrap from 'primevue/focustrap';
|
||||
import TimesIcon from 'primevue/icons/times';
|
||||
import BaseInplace from './BaseInplace.vue';
|
||||
|
||||
export default {
|
||||
name: 'Inplace',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue