du
2025-04-01 a7ec9a05b7ab233a11e3b9d5f351e6ad74561f9d
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)
}