Skip to content

Commit b43f6e0

Browse files
committed
03-lesson;
1 parent 42f8450 commit b43f6e0

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 role="nav">
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)