Sanity Library Reference Docs
    Preparing search index...

    Interface RouteNodeOptions

    interface RouteNodeOptions {
        __unsafe_disableScopedSearchParams?: boolean;
        children?: RouteChildren;
        path?: string;
        scope?: string;
        transform?: { [key: string]: RouteTransform<any> };
    }
    Index

    Properties

    __unsafe_disableScopedSearchParams?: boolean

    Optionally disable scoping of search params Scoped search params will be represented as scope[param]=value in the url Disabling this will still scope search params based on any parent scope unless the parent scope also has disabled search params scoping Caution: enabling this can cause conflicts with multiple plugins defining search params with the same name

    children?: RouteChildren

    The children of the route node. See RouteChildren

    path?: string

    The path of the route node.

    scope?: string

    The scope of the route node.

    transform?: { [key: string]: RouteTransform<any> }

    The transforms to apply to the route node. See RouteTransform