UNPKG

@saber2pr/router

Version:

> react-router-dom by hooks api.

10 lines (9 loc) 316 B
/// <reference types="react" /> import { History } from '../../core'; export interface RouterProps { children: JSX.Element | Array<JSX.Element>; history?: History; cache?: boolean; basename?: string; } export declare function Router({ children, history, cache, basename }: RouterProps): JSX.Element;