Refactor #3965 - Update for unstyled prop

This commit is contained in:
Tuğçe Küçükoğlu 2023-06-05 11:10:25 +03:00
parent bb3a383b97
commit a5ec0a6b9f
14 changed files with 39 additions and 15 deletions

View file

@ -5,7 +5,7 @@
</div>
<div v-else :class="cx('content')" v-bind="ptm('content')">
<slot name="content"></slot>
<IPButton v-if="closable" :aria-label="closeAriaLabel" @click="close" :pt="ptm('closeButton')" v-bind="closeButtonProps">
<IPButton v-if="closable" :aria-label="closeAriaLabel" @click="close" :unstyled="unstyled" :pt="ptm('closeButton')" v-bind="closeButtonProps">
<template #icon>
<slot name="closeicon">
<component :is="closeIcon ? 'span' : 'TimesIcon'" :class="closeIcon" v-bind="ptm('closeButton')['icon']"></component>