Skip to content

Commit ff8b159

Browse files
committedNov 12, 2024··
fix: add icon classes
1 parent 01435c8 commit ff8b159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/packages/Toast.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
<template v-else>
7474
<template v-if="toastType !== 'default' || toast.icon || toast.promise">
75-
<div data-icon="">
75+
<div data-icon="" :class="cn(classes?.icon, toast?.classes?.icon)">
7676
<template
7777
v-if="(toast.promise || toastType === 'loading') && !toast.icon"
7878
>

0 commit comments

Comments
 (0)
Please sign in to comment.