[react-router-config] - add support for optional extraProps argument to renderRoutes introduced in react-router 4.2.0 (#19994)

This commit is contained in:
stujones-sportsbet
2017-09-25 17:10:40 -07:00
committed by Mohamed Hegazy
parent 087179958b
commit b2e786aee1
+1 -1
View File
@@ -28,4 +28,4 @@ export interface MatchedRoute<T> {
export function matchRoutes<T>(routes: RouteConfig[], pathname: string): Array<MatchedRoute<T>>;
export function renderRoutes(routes: RouteConfig[] | undefined): JSX.Element;
export function renderRoutes(routes: RouteConfig[] | undefined, extraProps?: any): JSX.Element;