Updated Router import for example (#9233)

Updated import in order to be a correct working example as in accordance with the docs
This commit is contained in:
Johan Tinglöf 2017-03-24 15:37:32 +01:00 committed by Brandon Dail
parent f082e35b36
commit 38d8f3ee6b
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ If `contextTypes` is not defined, then `context` will be an empty object.
Context can also let you build an API where parents and children communicate. For example, one library that works this way is [React Router V4](https://reacttraining.com/react-router):
```javascript
import { Router, Route, Link } from 'react-router-dom';
import { BrowserRouter as Router, Route, Link } from 'react-router-dom';
const BasicExample = () => (
<Router>