mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
react-router.d.ts: add RouteComponentProps.children
This commit is contained in:
1 parent
a5e94ca589
commit
3c1f12954a
1 file changed
+1
Vendored
+1
@@ -45,6 +45,7 @@ declare namespace ReactRouter {
|
||||
route?: PlainRoute
|
||||
routeParams?: R
|
||||
routes?: PlainRoute[]
|
||||
children?: React.ReactElement<any>
|
||||
}
|
||||
|
||||
type RouteComponents = { [key: string]: RouteComponent }
|
||||
|
||||
Reference in new issue
Block a user