React Router API Reference
    Preparing search index...

    Interface StaticRouterProps

    interface StaticRouterProps {
        basename?: string;
        children?: ReactNode;
        location: string | Partial<Location<any>>;
    }
    Index

    Properties

    basename?: string

    The base URL for the static router (default: /)

    children?: ReactNode

    The child elements to render inside the static router

    location: string | Partial<Location<any>>

    The Location to render the static router at (default: /)