import { AnchorHTMLAttributes } from '@wakeadmin/demi'; import { RouteLocation } from '../hooks'; import { FatTextOwnProps } from './fat-text'; export interface FatLinkOwnProps extends Omit { href?: RouteLocation; /** * 导航拦截,支持自定义 * @param href 用户指定的导航链接 * @param defaultHandler 默认行为, 如果是 http 链接就调用 window.open 或者 window.location.href 跳转,其余清除使用 router.push 跳转 */ beforeNavigate?: (href: RouteLocation, defaultHandler: () => void) => void; } export interface FatLinkProps extends FatLinkOwnProps, Omit { } export declare const FatLink: import("@wakeadmin/h").DefineComponent; //# sourceMappingURL=fat-link.d.ts.map