公告板
版本库
filestore
活动
搜索
登录
web
/
app-web-examination-yudao
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
导入项目
wwf
7 小时以前
a1d7e81859f554f3a53680cc35f0f49bf1f77098
[web/app-web-examination-yudao.git]
/
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)
}