mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Merge pull request #33490 from lencioni/patch-1
Add key to react-router-config RouteConfig
This commit is contained in:
Vendored
+1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user