{"size": 407, "ext": "js", "max_stars_repo_path": "app/components/SortableItem.js", "max_stars_repo_name": "Ensaphelon/maps", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/components/SortableItem.js", "max_issues_repo_name": "Ensaphelon/maps", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/components/SortableItem.js", "max_forks_repo_name": "Ensaphelon/maps", "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": 20.35, "max_line_length": 57, "alphanum_fraction": 0.6732186732}
import React from 'react';
import PropTypes from 'prop-types';
import { sortable } from 'react-sortable';

class SortableItem extends React.Component {
  render() {
    return (
      <div className="points__list-name" {...this.props}>
        {this.props.children[0]}
      </div>
    );
  }
}

SortableItem.propTypes = {
  children: PropTypes.string.isRequired,
};

export default sortable(SortableItem);
