Skip to main content

IndexRouteProps

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
indextrue
Additional properties for advanced use cases
PropertiesTypeDescription
actionActionFunction
caseSensitiveboolean
childrenundefined
Componentnull | ComponentType<>
elementReactNode
ErrorBoundarynull | ComponentType<>
errorElementReactNode
handleany
hasErrorBoundaryboolean
idstring
lazyLazyRouteFunction<IndexRouteObject>
loaderLoaderFunction
pathstring
shouldRevalidateShouldRevalidateFunction