UNPKG

hele-router

Version:
18 lines (17 loc) 485 B
import { Component, Reference, ComponentGetter } from "hele"; export interface RouteProps { ref?: Reference; router?: string; exact?: boolean; path: string; render?: (matched: boolean) => any; component?: ComponentGetter<{}>; children: any; } export declare class Route extends Component<RouteProps, boolean> { constructor(props: RouteProps, context: any); static defaultProps: { router: string; }; render(): any; }