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 42f8450 commit b43f6e0Copy full SHA for b43f6e0
lessons/03-navigating-with-link/modules/App.js
@@ -1,7 +1,17 @@
1
import React from 'react'
2
+import { Link } from 'react-router'
3
+
4
5
export default React.createClass({
6
render() {
- return <div>Hello, React Router!</div>
7
+ return (
8
+ <div>
9
+ <h1>React Router Tutorial</h1>
10
+ <ul role="nav">
11
+ <li><Link to="/about">About</Link></li>
12
+ <li><Link to="/repos">Repos</Link></li>
13
+ </ul>
14
+ </div>
15
+ )
16
}
17
})
0 commit comments