useOutlet

external fun useOutlet(context: Any? = definedExternally): ReactElement<*>?(source)

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

See also

https

://reactrouter.com/hooks/use-outlet