11 lines
264 B
TypeScript
11 lines
264 B
TypeScript
// Author: fruit.com.cn
|
|
|
|
import { h } from 'vue'
|
|
import type { VNode } from 'vue'
|
|
import { AppIcon } from '@/components/AppIcon'
|
|
import type { IconTypes } from '@/components/Icon'
|
|
|
|
export const useIcon = (props: IconTypes): VNode => {
|
|
return h(AppIcon, props)
|
|
}
|