Refactor #3832 - Refactor for ToastMessage close icon

pull/3868/head
Tuğçe Küçükoğlu 2023-04-14 15:36:08 +03:00
parent 42538d37cf
commit fef1f06db9
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<component v-else :is="templates.message" :message="message"></component>{{ message.closable }}
<div v-if="message.closable !== false">
<button v-ripple class="p-toast-icon-close p-link" type="button" :aria-label="closeAriaLabel" @click="onCloseClick" autofocus v-bind="closeButtonProps">
<component :is="templates.closeicon || 'span'" :class="['p-toast-icon-close-icon', closeIcon]" />
<component :is="templates.closeicon || 'TimesIcon'" :class="['p-toast-icon-close-icon', closeIcon]" />
</button>
</div>
</div>