Skip to content

Commit 6ef1b78

Browse files
author
Steven Li
committed
Done with lesson 3
1 parent 01455f4 commit 6ef1b78

File tree

1 file changed

+10
-1
lines changed
  • lessons/03-navigating-with-link/modules

1 file changed

+10
-1
lines changed
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
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
})

0 commit comments

Comments
 (0)