UNPKG

hele-router

Version:
18 lines (17 loc) 485 B
import { Component, RawProps } from "hele"; export interface LinkProps extends RawProps { router?: string; href?: string; back?: boolean; onclick?: (event: MouseEvent) => any; } export declare class Link extends Component<LinkProps, never> { constructor(props: LinkProps, context: any); static defaultProps: { href: string; back: boolean; router: string; }; render(): any; onclick(event: MouseEvent): any; }