UNPKG

516 BTypeScriptView Raw
1import React from "react";
2import { RouteLocation } from "@curi/router";
3import { NavigatingChildren } from "@curi/react-universal";
4export interface LinkProps extends RouteLocation {
5 onNav?: (e: React.MouseEvent<HTMLElement>) => void;
6 anchor?: React.ReactType;
7 children: NavigatingChildren | React.ReactNode;
8 forward?: React.AnchorHTMLAttributes<HTMLAnchorElement>;
9}
10declare const HookLink: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<any>>;
11export default HookLink;