createRoutes(routes)
Creates and returns an array of routes from the given object which may be a JSX route, a plain object route, or an array of either.
params
routes
One or many <Route> or PlainRoute.
Example
Todo