IndexRouteObject
react-router

IndexRouteObject interface

Properties

Component

Type: null | ComponentType<{ }>

ErrorBoundary

Type: null | ComponentType<{ }>

HydrateFallback

Type: null | ComponentType<{ }>

action

Type: boolean | ActionFunction<any>

caseSensitive

Type: boolean

children

Type: undefined

element

Type: ReactNode

errorElement

Type: ReactNode

handle

Type: any

hasErrorBoundary

Type: boolean

hydrateFallbackElement

Type: ReactNode

id

Type: string

index

Type: true

lazy

Type: LazyRouteFunction<RouteObject>

loader

Type: boolean | LoaderFunction<any>

path

Type: string

shouldRevalidate

Type: ShouldRevalidateFunction

Docs and examples CC 4.0