Skip to content

Commit 5fbc582

Browse files
committed
Add a note that rr-v3 branch is for React Router v3 and earlier
1 parent a7de1be commit 5fbc582

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# react-router-bootstrap [![Travis][build-badge]][build] [![npm][npm-badge]][npm]
22
Integration between [React Router](https://github.com/reactjs/react-router) and [React-Bootstrap](https://github.com/react-bootstrap/react-bootstrap).
33

4+
> **IMPORTANT**: instructions below are for projects using React Router v3 and earlier.
5+
> To find the latest integration package for React Router v4 and later see [master](https://github.com/react-bootstrap/react-router-bootstrap/tree/master) branch.
6+
47
## Usage
58

69
Wrap your React-Bootstrap element in a `<LinkContainer>` to make it behave like a React Router `<Link>`:
@@ -17,7 +20,7 @@ For the equivalent of `<IndexLink>`, use `<IndexLinkContainer>`.
1720

1821
```
1922
$ npm i -S react react-dom react-router react-bootstrap
20-
$ npm i -S react-router-bootstrap
23+
$ npm i -S react-router-bootstrap@rr-v3
2124
```
2225

2326
## Contributing

0 commit comments

Comments
 (0)