康鲁杰
2025-04-01 573abfc8eba05f68fb068d7d8b0f7895de3e501d
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)
}