9 |
Github
10 |
11 | View Facebook's profile & repositories
12 |
13 |
14 | View Google's profile & repositories
15 |
16 |
17 | );
18 | }
19 | }
20 |
21 | export default UserPage;
22 |
--------------------------------------------------------------------------------
/src/js/components/RepoList.jsx:
--------------------------------------------------------------------------------
1 | import React, { PropTypes } from 'react';
2 | import Immutable from 'immutable';
3 | import RepoListItem from './RepoListItem';
4 |
5 | class RepoList extends React.Component {
6 |
7 | static propTypes = {
8 | repos: PropTypes.instanceOf(Immutable.List).isRequired
9 | }
10 |
11 | render() {
12 | const {
13 | props: { repos }
14 | } = this;
15 |
16 | return (
17 |