仪表盘
版本库
文件存储
活动
搜索
登录
main
/
easegen
数字人
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
修改声音试听
Flex
2025-06-07
9182dda7aa4ec98d20149d40c720ffb1f3cc1025
[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)
}