Plumile JS API
    Preparing search index...

    Type Alias RouteRender<TContext, TPrepared, TVariables, TQueryShape>

    RouteRender: BivariantCallback<
        (
            opts: RouteRenderOpts<TContext, TPrepared, TVariables, TQueryShape>,
        ) =>
            | ReactElement
            | null
            | undefined
            | Promise<ReactElement | null | undefined>,
    >

    Function to render a route with custom logic.

    Type Parameters

    • TContext
    • TPrepared extends PrepareResult

      The type of prepared data returned by the route's prepare function

    • TVariables extends ParamData = ParamData

      Route parameter types extracted from the URL path

    • TQueryShape extends UnknownQueryShape = UnknownQueryShape