index.js 433 B

123456789101112131415161718192021
  1. export {
  2. MemoryRouter,
  3. Prompt,
  4. Redirect,
  5. Route,
  6. Router,
  7. StaticRouter,
  8. Switch,
  9. generatePath,
  10. matchPath,
  11. withRouter,
  12. useHistory,
  13. useLocation,
  14. useParams,
  15. useRouteMatch
  16. } from "react-router";
  17. export { default as BrowserRouter } from "./BrowserRouter.js";
  18. export { default as HashRouter } from "./HashRouter.js";
  19. export { default as Link } from "./Link.js";
  20. export { default as NavLink } from "./NavLink.js";