<commit_before>import React, { Component, PropTypes } from 'react';

export default class MainSection extends Component {
  static propTypes = {
    emojis: PropTypes.array.isRequired,
    actions: PropTypes.object.isRequired
  };

  constructor (props, context) {
    super(props, context);
  }

  render () {
    const { emojis, actions } = this.props;

    return (
      <section className='main'>
        <ul className='emoji-used-list'>
          {emojis.map(emoji =>
            <li key={emoji.text} {...actions}>{emoji.text}</li>
          )}
        </ul>
      </section>
    );
  }
}
<commit_msg>chore(icons): build emoji data<commit_after>import React, { Component, PropTypes } from 'react';
import emojiCheatSheetData from '../../emoji-cheat-sheet-data.json';
import path from 'path';

export default class MainSection extends Component {
  static propTypes = {
    emojis: PropTypes.array.isRequired,
    actions: PropTypes.object.isRequired
  };

  constructor (props, context) {
    super(props, context);
  }

  render () {
    const { emojis, actions } = this.props;
    const emojiData = emojiCheatSheetData.map(emoji => {
      let file = emoji.image.split('/').pop();
      let filePath = path.join('assets', 'images', 'emojis', file);
      emoji.image = filePath;
      return emoji;
    });

    return (
      <section className='main'>
        <ul className='emoji-used-list'>
          {emojis.map(emoji =>
            <li key={emoji.text} {...actions}>{emoji.text}</li>
          )}
        </ul>
      </section>
    );
  }
}

{'fraction_non_alphanumeric': 0.14919614147909968, 'fraction_numerical': 0.0, 'mean_word_length': 2.6018518518518516, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2337764', 'n_tokens_mistral': 492, 'n_tokens_neox': 495, 'n_words': 105}