# Interface DataRouteMatch

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

#### Hierarchy (view full)

- RouteMatch<string, DataRouteObject>
  - DataRouteMatch

- Defined in common/temp/node_modules/.pnpm/react-router@6.23.1_react@18.3.1/node_modules/react-router/dist/lib/context.d.ts:48

#####
Index

### Properties

params
pathname
pathnameBase
route

## Properties

### params

params: Params<string>

The names and values of dynamic parameters in the URL.

Inherited from RouteMatch.params

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:301

### pathname

pathname: string

The portion of the URL pathname that was matched.

Inherited from RouteMatch.pathname

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:305

### pathnameBase

pathnameBase: string

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

Inherited from RouteMatch.pathnameBase

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:309

### route

route: DataRouteObject

The route object that was used to match.

Inherited from RouteMatch.route

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/utils.d.ts:313