公告板
版本库
filestore
活动
搜索
登录
main
/
hs-Vue3-ui
horse soft 基础框架前端界面
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
feat: 参数设置改造(弹出框)
autumnal_wind@yeah.net
2024-05-27
387083ef40c31fed2f7f5588e8d9048ff97bdf38
[hs-Vue3-ui.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)
}