Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit 2509c5f

Browse files
author
TsaiKoga
committed
Finish lesson 3
1 parent 2af9aa3 commit 2509c5f

File tree

1 file changed

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

1 file changed

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

35
export default React.createClass({
46
render() {
5-
return <div>Hello, React Router!</div>
7+
return (
8+
<div>
9+
<h1>React Router Tutorial</h1>
10+
<ul>
11+
<li><Link to="/about">About</Link></li>
12+
<li><Link to="/repos">Repos</Link></li>
13+
</ul>
14+
</div>
15+
)
616
}
717
})

0 commit comments

Comments
 (0)