Repos.js 355 B

12345678910111213141516
  1. import React from 'react'
  2. import { Link } from 'react-router'
  3. export default React.createClass({
  4. render() {
  5. return (
  6. <div>
  7. <h2>Repos</h2>
  8. <ul>
  9. <li><Link to="/repos/reactjs/react-router">React Router</Link></li>
  10. <li><Link to="/repos/facebook/react">React</Link></li>
  11. </ul>
  12. </div>
  13. )
  14. }
  15. })