UNPKG

rift-router

Version:

Blazing Fast and Lightweight router for React Based on state first.

10 lines (9 loc) 283 B
import { ReactNode } from 'react'; declare type Props = { to: string; className?: string; onClick?: (e: any) => void; children: ReactNode | ReactNode[]; }; export declare const RiftLink: ({ to, onClick: click, className, children }: Props) => JSX.Element; export {};