康鲁杰
2025-03-25 86d0bc1aae11561c0e71daa61d338e1f5d40c6b7
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)
}