仪表盘
版本库
文件存储
活动
搜索
登录
main
/
easegen
数字人
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge branch 'master' of http://yykjgit.sdyyst.com/r/easegen
Flex
2025-06-07
195d032c025c9264652b55a3e6a894eb95664885
[easegen.git]
/
easegen-front
/
src
/
hooks
/
web
/
useIcon.ts
1
2
3
4
5
6
7
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)
}