仪表盘
版本库
文件存储
活动
搜索
登录
未授权访问版本库 iailab-plat.git
董宇坤
/
iailab-plat-ui-vue3
分支自
iailab-plat-ui-vue3
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
测点导入功能修改,增加计算点,常量点导入导出功能
潘志宝
2024-10-31
c52be7993610e0162f49ef3e6fbd6213000b767e
[~dongyukun/iailab-plat-ui-vue3.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)
}