types: 调整类型

This commit is contained in:
kailong321200875
2023-06-26 17:55:12 +08:00
parent de0cb43566
commit 24c8af9183
15 changed files with 32 additions and 26 deletions

View File

@@ -1,7 +1,6 @@
import { h } from 'vue'
import type { VNode } from 'vue'
import { Icon } from '@/components/Icon'
import { IconTypes } from '@/types/icon'
import { Icon, IconTypes } from '@/components/Icon'
export const useIcon = (props: IconTypes): VNode => {
return h(Icon, props)