Merge pull request #33490 from lencioni/patch-1

Add key to react-router-config RouteConfig
This commit is contained in:
Nathan Shively-Sanders
2019-03-07 14:47:10 -08:00
committed by GitHub
+1
View File
@@ -15,6 +15,7 @@ export interface RouteConfigComponentProps<Params extends { [K in keyof Params]?
}
export interface RouteConfig {
key?: React.Key;
location?: Location;
component?: React.ComponentType<RouteConfigComponentProps<any>> | React.ComponentType;
path?: string;