{"size": 399, "ext": "js", "max_stars_repo_path": "src/components/RepoAndStar.js", "max_stars_repo_name": "Ding-Fan/Rstar", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/RepoAndStar.js", "max_issues_repo_name": "Ding-Fan/Rstar", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/RepoAndStar.js", "max_forks_repo_name": "Ding-Fan/Rstar", "max_forks_repo_forks_event_min_datetime": "2018-10-08T10:34:50.000Z", "max_forks_repo_forks_event_max_datetime": "2018-10-08T10:34:50.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 17.347826087, "max_line_length": 41, "alphanum_fraction": 0.5213032581}
/**
 * Created by zichuange on 2017/4/21.
 */
import React, { Component } from 'react';

class RepoAndStar extends Component {
  render () {
    const { details } = this.props;

    return (
      <li className="repo-and-star">
        <span>
          { details.name } :
        </span>
        <span>
          { details.stars }
        </span>
      </li>
    )
  }
}

export default RepoAndStar;