{"size": 510, "ext": "js", "max_stars_repo_path": "app/components/SocialsList/index.js", "max_stars_repo_name": "hutsi/test-labelup", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/components/SocialsList/index.js", "max_issues_repo_name": "hutsi/test-labelup", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/components/SocialsList/index.js", "max_forks_repo_name": "hutsi/test-labelup", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.2857142857, "max_line_length": 61, "alphanum_fraction": 0.5705882353}
import React, { PropTypes, Component } from 'react';
import css from './style.scss'

export class SocialsList extends React.Component {
  render() {
    const { data } = this.props

    return (
      <div className={css.socialsList}>
        {data.map((item, index) => (
          <div key={index} className={css.socialsList__item}>
            <div>{item.name} ({item.followers})</div>
            <div>{item.postPrice}</div>
          </div>
        ))}
      </div>
    )
  }
}

export default SocialsList;