Sanity Library Reference Docs
    Preparing search index...

    Interface RouteScopeProps

    Props for the RouteScope component.

    interface RouteScopeProps {
        __unsafe_disableScopedSearchParams?: boolean;
        children: ReactNode;
        scope: string;
    }
    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: ReactNode

    The content to display inside the route scope.

    scope: string

    The scope for the nested routes.