UNPKG

react-router-chart

Version:
17 lines (16 loc) 444 B
import { RouteObject } from "react-router-dom"; export declare const $: unique symbol; export declare const $$: unique symbol; export type NamedRoute = { [$]?: string; [$$]?: string; [k: string]: NamedRoute; }; export declare class Chart { static ROOT: string; /** * Create named routes from route objects * @param {*} route the route to render */ static describe(...routes: RouteObject[]): NamedRoute; }