<commit_before>import React from 'react';

import { createCellAfter, createCellBefore, createCellAppend } from '../../actions';

export default class CellCreatorButtons extends React.Component {
  static propTypes = {
    above: React.PropTypes.bool,
    id: React.PropTypes.string,
  };

  static contextTypes = {
    dispatch: React.PropTypes.func,
  };

  render() {
    return (
      <div className='creator-tool'>
        <span className='creator-label'>Add cell</span>
        <button onClick={this._createTextCell.bind(this)}>
          <i className='material-icons'>art_track</i>
        </button>
        <button onClick={this._createCodeCell.bind(this)}>
          <i className='material-icons'>code</i>
        </button>
      </div>
    );<commit_msg>Shift button position and add titles.<commit_after>import React from 'react';

import { createCellAfter, createCellBefore, createCellAppend } from '../../actions';

export default class CellCreatorButtons extends React.Component {
  static propTypes = {
    above: React.PropTypes.bool,
    id: React.PropTypes.string,
  };

  static contextTypes = {
    dispatch: React.PropTypes.func,
  };

  render() {
    return (
      <div className='creator-tool'>
        <button onClick={this._createTextCell.bind(this)} title="create text cell">
          <i className='material-icons'>art_track</i>
        </button>
        <span className='creator-label'>Add cell</span>
        <button onClick={this._createCodeCell.bind(this)} title="create code cell">
          <i className='material-icons'>code</i>
        </button>
      </div>
    );
{'fraction_non_alphanumeric': 0.1379525593008739, 'fraction_numerical': 0.0, 'mean_word_length': 3.120822622107969, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '3006987', 'n_tokens_mistral': 458, 'n_tokens_neox': 457, 'n_words': 99}