interface DataRouteMatch {
    params: Params<string>;
    pathname: string;
    pathnameBase: string;
    route: DataRouteObject;
}

Hierarchy (view full)

Properties

params: Params<string>

The names and values of dynamic parameters in the URL.

pathname: string

The portion of the URL pathname that was matched.

pathnameBase: string

The portion of the URL pathname that was matched before child routes.

The route object that was used to match.