perf: replace vue-sonner with the toast component of shadcn-ui

This commit is contained in:
vben
2024-07-07 11:36:32 +08:00
parent fd61d2efc4
commit 0eda99ec3b
23 changed files with 536 additions and 131 deletions

View File

@@ -2,8 +2,8 @@ import { h } from 'vue';
import { Icon } from '@iconify/vue';
function createIcon(icon: string) {
function createIconifyIcon(icon: string) {
return h(Icon, { icon });
}
export { createIcon };
export { createIconifyIcon };