React Router API Reference
    Preparing search index...

    Interface OutletProps

    interface OutletProps {
        context?: unknown;
    }
    Index

    Properties

    Properties

    context?: unknown

    Provides a context value to the element tree below the outlet. Use when the parent route needs to provide values to child routes.

    <Outlet context={myContextValue} />
    

    Access the context with useOutletContext.