UNPKG

hele-router

Version:
18 lines (17 loc) 494 B
import { Component, Reference } from "hele"; export declare const defaultRouterName = "router"; export interface RouterProps { ref?: Reference; name?: string; children: any; } export declare abstract class Router extends Component<RouterProps, string> { constructor(props: RouterProps, context: any); static defaultProps: { name: string; }; name: string; render(): any; abstract push(path: string): void; abstract pop(): void; }