We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01455f4 commit 6ef1b78Copy full SHA for 6ef1b78
lessons/03-navigating-with-link/modules/App.js
@@ -1,7 +1,16 @@
1
import React from 'react'
2
+import { Link } from 'react-router'
3
4
export default React.createClass({
5
render() {
- return <div>Hello, React Router!</div>
6
+ return (
7
+ <div>
8
+ <h1>React Router Tutorial</h1>
9
+ <ul role="nav">
10
+ <li><Link to="/about">About</Link></li>
11
+ <li><Link to="/repos">Repos</Link></li>
12
+ </ul>
13
+ </div>
14
+ )
15
}
16
})
0 commit comments