useOutlet

useOutlet

Type declaration
declare function useOutlet(): React.ReactElement | null;

Returns the element for the child route at this level of the route hierarchy. This hook is used internally by <Outlet> to render child routes.

Docs and examples CC 4.0