eight
2024-09-20 ca0fdc71abca0635a7ba0bc905fa93a05384cb5d
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)
}