PathRouteProps
react-router

PathRouteProps interface

Properties

Component

Type: null | ComponentType<{ }>

ErrorBoundary

Type: null | ComponentType<{ }>

HydrateFallback

Type: null | ComponentType<{ }>

action

Type: boolean | ActionFunction<any>

caseSensitive

Type: boolean

children

Type: ReactNode

element

Type: ReactNode

errorElement

Type: ReactNode

handle

Type: any

hasErrorBoundary

Type: boolean

hydrateFallbackElement

Type: ReactNode

id

Type: string

index

Type: false

lazy

Type: LazyRouteFunction<NonIndexRouteObject>

loader

Type: boolean | LoaderFunction<any>

path

Type: string

shouldRevalidate

Type: ShouldRevalidateFunction

Docs and examples CC 4.0