Integration between React Router and React-Bootstrap
npm install react-router-bootstrapFor React Router v6:
``sh`
npm install -S react-router-bootstrap
For React Router v4 or v5 (see [rr-v4] branch):
`sh`
npm install -S react-router-bootstrap@rr-v4
For React Router v3 or lower (see [rr-v3] branch):
`sh`
npm install -S react-router-bootstrap@rr-v3
Wrap your React Bootstrap element in a to make it behave like a React Router
accepts same parameters as React Router's []
Following plain React Bootstrap component
`js``
becomesjs`
import { LinkContainer } from 'react-router-bootstrap'
See CONTRIBUTING.
[React Router]: https://github.com/remix-run/react-router
[React Bootstrap]: https://github.com/react-bootstrap/react-bootstrap
[npm-badge]: https://badge.fury.io/js/react-router-bootstrap.svg
[npm]: http://badge.fury.io/js/react-router-bootstrap
[rr-v3]: https://github.com/react-bootstrap/react-router-bootstrap/tree/rr-v3
[rr-v4]: https://github.com/react-bootstrap/react-router-bootstrap/tree/rr-v4
[