UNPKG

flemo

Version:

A modern React router library with built-in motion animations and smooth transitions

11 lines (10 loc) 272 B
import { ReactNode } from 'react'; import { Path } from 'path-to-regexp'; export interface RegisterRoute { } export interface RouteProps { path: Path | Path[]; element: ReactNode; } declare function Route({ element }: RouteProps): ReactNode; export default Route;