Type: Params<string>
The names and values of dynamic parameters in the URL.
Type: string
The portion of the URL pathname that was matched.
Type: string
The portion of the URL pathname that was matched before child routes.
Type: DataRouteObject
The route object that was used to match.