Skip to content

Commit 6ad2491

Browse files
committed
Lesson 03 Final
1 parent 9fc24d3 commit 6ad2491

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

modules/App.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
import React from 'react'
2+
import { Link } from 'react-router'
23

34
export default React.createClass({
45
render() {
5-
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+
)
615
}
716
})
817

0 commit comments

Comments
 (0)