React Router API Reference
    Preparing search index...

    Type Alias NonIndexRouteObject

    NonIndexRouteObject: BaseRouteObject & {
        children?: RouteObject[];
        index?: false;
    }

    Non-index routes may have children, but cannot have index set to true.

    Type declaration

    • Optionalchildren?: RouteObject[]

      Child Route objects.

    • Optionalindex?: false

      Whether this is an index route - must be false or undefined on non-index routes.