Skip to main content

LayoutRouteProps

Properties

This element is often used without passing props

Additional properties for advanced use cases
PropertiesTypeDescription
actionActionFunction
caseSensitiveboolean
childrenReactNode
Componentnull | ComponentType<>
elementReactNode
ErrorBoundarynull | ComponentType<>
errorElementReactNode
handleany
hasErrorBoundaryboolean
idstring
indexfalse
lazyLazyRouteFunction<NonIndexRouteObject>
loaderLoaderFunction
pathstring
shouldRevalidateShouldRevalidateFunction