A declarative <Router>
that accepts a pre-instantiated
history
object.
It's important to note that using your own history
object is highly discouraged
and may add two versions of the history
library to your bundles unless you use
the same version of the history
library that React Router uses internally.
function HistoryRouter({ basename, children, history }: HistoryRouterProps)
Application basename
<Route>
components describing your route configuration
A history implementation for use by the router