• Renders the matching child route of a parent route or nothing if no child route matches.

    import { Outlet } from "react-router"

    export default function SomeParent() {
    return (
    <div>
    <h1>Parent Content</h1>
    <Outlet />
    </div>
    );
    }

    Parameters

    Returns React.ReactElement | null