This commit is contained in:
qsh
2025-05-12 14:11:54 +08:00
parent e71c9928a2
commit f6e98e71e2
385 changed files with 45604 additions and 14 deletions

8
src/hooks/web/useIcon.ts Normal file
View File

@@ -0,0 +1,8 @@
import { h } from 'vue'
import type { VNode } from 'vue'
import { Icon } from '@/components/Icon'
import { IconTypes } from '@/types/icon'
export const useIcon = (props: IconTypes): VNode => {
return h(Icon, props)
}