UNPKG

@heartlee/element-components

Version:

a component library for Vue 3 base on element-plus. Forked from element-pro-components. 根据业务需求自用,如需使用,请移步官方仓库使用

13 lines (12 loc) 353 B
import { ComputedRef } from 'vue'; import type { ILinkProps } from '../types/index'; export declare function useLink(props: Readonly<ILinkProps>): { type: ComputedRef<'a' | 'router-link' | 'span'>; attr: ComputedRef<{ href: string; target: string; rel: string; } | { to: string; } | null>; };