react-router added routes to RouteComponentProps

This commit is contained in:
John Reilly
2017-02-10 12:25:50 +00:00
committed by GitHub
parent 1c72cb3812
commit 0e0bef8276

View File

@@ -90,6 +90,7 @@ export interface RouteComponentProps<P, R> {
params: P & R;
route: PlainRoute;
router: InjectedRouter;
routes: PlainRoute[];
routeParams: R;
}