// Type definitions for redux-first-router-link 1.4 // Project: https://github.com/faceyspacey/redux-first-router-link#readme // Definitions by: janb87 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import * as React from "react"; import { Location } from 'redux-first-router'; export type To = string | string[] | object; export interface Match

{ params: P; isExact: boolean; path: string; url: string; } // Unfortunately we can't pass `HTMLAnchorElement` since the `tagName` attribute allows you to use other tags than anchor. export interface LinkProps extends React.HTMLAttributes { to: To; redirect?: boolean; replace?: boolean; tagName?: string; down?: boolean; shouldDispatch?: boolean; target?: string; } export default class Link extends React.Component {} export interface NavLinkProps extends LinkProps { activeClassName?: string; activeStyle?: React.CSSProperties; ariaCurrent?: string; exact?: boolean; strict?: boolean; isActive?(match: Match, location: Location): boolean; } export class NavLink extends React.Component {}