PropsRoute = ({ component, ...rest }) => (
  <Route
    {...rest}
    render={routeProps => renderMergedProps(component, routeProps, rest)}
  />
)
Wrapper around the Router component, which makes it pass the properties
to it's child.
Taken from https://github.com/ReactTraining/react-router/issues/4105