useOutlet
useOutlet(context: unknown): React.ReactElement | null
Returns the element for the child route at this level of the route
hierarchy. Used internally by <Outlet> to render child routes.
Properties
This element is often used without passing props
Additional properties for advanced use cases
Properties | Type | Description |
---|---|---|
context | unknown |