function / @typed/react

CurrentRouteProvider

Extends the structural mount tree for React and Typed descendants; pass the complete mount route.

Package version
1.0.0-beta.13
Category
function

Import

import { CurrentRouteProvider } from "@typed/react";

Signatures

export declare function CurrentRouteProvider({ route, children, }: {
    readonly route: Route.Route.Any;
    readonly children?: ReactNode;
}): ReactNode;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source