UNPKG

@web-package/react-widgets-router

Version:

This package is a router that provides transition animations and fully preserves the state of previous elements, offering an experience close to a Web standard API.

7 lines (6 loc) 247 B
import { ReactElement } from "react"; import { RouteProperties } from "./Route"; export declare function RenderRoute({ route, active }: { route?: ReactElement<RouteProperties>; active: boolean; }): import("react/jsx-runtime").JSX.Element;