content: import React, { Component } from 'react';
  import PropTypes from 'prop-types';
  
  export default class Repo extends Component {
      static propTypes = {
          repo: PropTypes.object
      }
  
      static defaultProps = {
          repo: {}
      }
  
      render() {
          const { repo } = this.props;
  
          return (
              <div>
                  <a
                      href={repo.html_url}
                      className="bold h3"
                  >
                      {repo.name}
                      <i className="m1 fa fa-external-link" />
                  </a>
                  <div>
                      {repo.description}
                  </div>
                  <div>
                      {repo.language}
                  </div>
                  <div>
                      Stars: {repo.stargazers_count}
                  </div>
                  <div>
                      Watchers: {repo.watchers_count}
                  </div>
              </div>
          );
      }
  }
  