Browse Source

Lesson 03 Final

Ryan Florence 9 years ago
parent
commit
6ad2491a6c
1 changed files with 10 additions and 1 deletions
  1. 10 1
      modules/App.js

+ 10 - 1
modules/App.js

@@ -1,8 +1,17 @@
 import React from 'react'
 import React from 'react'
+import { Link } from 'react-router'
 
 
 export default React.createClass({
 export default React.createClass({
   render() {
   render() {
-    return <div>Hello, React Router!</div>
+    return (
+      <div>
+        <h1>React Router Tutorial</h1>
+        <ul role="nav">
+          <li><Link to="/about">About</Link></li>
+          <li><Link to="/repos">Repos</Link></li>
+        </ul>
+      </div>
+    )
   }
   }
 })
 })