function renderChildren(routes, match, parentProps) {
  return routes.map(route => (
    <Route
      key={`${match.url}-${route.path}`}
      path={`${match.url}/${route.path}`}
      render={props => <route.component {...parentProps} {...props} />}
    />
  ))
}
Render children based on route config objects
@param {Array} routes - Routes settings array
@param {Object} match - Routes settings array
@param {Object} parentProps - Props to pass to children from parent