Skip to content

Commit

Permalink
Merge pull request #101 from imjasonmiller/fix/icon-classes
Browse files Browse the repository at this point in the history
fix: add icon classes
  • Loading branch information
xiaoluoboding authored Nov 14, 2024
2 parents 01435c8 + ff8b159 commit 5c7cc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/Toast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<template v-else>
<template v-if="toastType !== 'default' || toast.icon || toast.promise">
<div data-icon="">
<div data-icon="" :class="cn(classes?.icon, toast?.classes?.icon)">
<template
v-if="(toast.promise || toastType === 'loading') && !toast.icon"
>
Expand Down

0 comments on commit 5c7cc21

Please sign in to comment.