UNPKG

react-router-magic

Version:
13 lines (12 loc) 487 B
/// <reference types="react" /> import { StatelessComponent, HTMLProps } from 'react'; import { LocationDescriptorObject } from 'history'; import { Match, ValOrFunc } from './utils'; export declare type LinkProps = HTMLProps<HTMLAnchorElement> & { to: ValOrFunc<(string | LocationDescriptorObject)>; activeClassName?: string; match?: ValOrFunc<Match>; replace?: boolean; noSubscribe?: boolean; }; export declare const Link: StatelessComponent<LinkProps>;