潘志宝
2025-02-06 67c33047e156f740f03b47dbf80e7cf4d8eff0ec
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)
}