@resistdesign/voltra
    Preparing search index...

    Type Alias RouteContextType

    Access values for the current Route.

    type RouteContextType = {
        adapter?: RouteAdapter;
        currentWindowPath: string;
        isTopLevel: boolean;
        params: Record<string, any>;
        parentPath: string;
    }
    Index

    Properties

    adapter?: RouteAdapter

    Adapter driving route updates.

    currentWindowPath: string

    Current window pathname (top-level) or inherited path (nested).

    isTopLevel: boolean

    Whether this route is the top-level router.

    params: Record<string, any>

    Aggregated route params from parent and current routes.

    parentPath: string

    The parent path for this route level.