Files
vue-element-plus-admin/src/hooks/web/useIcon.ts
kailong321200875 4612e5544b feat(Breadcrumbe): Add Breadcrumb component
style: change function to arrow function
2022-01-15 14:24:50 +08:00

8 lines
179 B
TypeScript

import { h } from 'vue'
import type { VNode } from 'vue'
import { Icon } from '@/components/Icon'
export const useIcon = (props: IconTypes): VNode => {
return h(Icon, props)
}