Closed sbdchd closed 3 years ago
export interface RouteComponentProps<P, C extends StaticContext = StaticContext> { history: H.History; location: H.Location; match: match<P>; staticContext?: C; }
I think we'd take the keys and explicitly allow them, using Pick results in the withRouter HOC not working because it requires the type params extend from RouteComponentProps
Pick
withRouter
RouteComponentProps
fixed in 0.3.2
I think we'd take the keys and explicitly allow them, using
Pick
results in thewithRouter
HOC not working because it requires the type params extend fromRouteComponentProps