<commit_before>var React = require('react/addons'),
  classnames = require('classnames'),
  Icon = require('../general/Icon.jsx'),
  EnhancedButton = require('./EnhancedButton.jsx'),
  PureRenderMixin = React.addons.PureRenderMixin

var IconButton = React.createClass({
  mixins: [PureRenderMixin],

  propTypes: {
    className: React.PropTypes.string,
    disabled: React.PropTypes.bool,
    icon: React.PropTypes.string.isRequired
  },
  render: function () {
    var {icon, className, ...other} = this.props
    return (
      <EnhancedButton {...other} className={classnames('icon-button', className)}>
        <Icon icon={icon}/>
      </EnhancedButton>
    )
  }
})

module.exports = IconButton<commit_msg>line break<commit_after>var React = require('react/addons'),
  classnames = require('classnames'),
  Icon = require('../general/Icon.jsx'),
  EnhancedButton = require('./EnhancedButton.jsx'),
  PureRenderMixin = React.addons.PureRenderMixin

var IconButton = React.createClass({
  mixins: [PureRenderMixin],

  propTypes: {
    className: React.PropTypes.string,
    disabled: React.PropTypes.bool,
    icon: React.PropTypes.string.isRequired
  },

  render: function () {
    var {icon, className, ...other} = this.props
    return (
      <EnhancedButton {...other} className={classnames('icon-button', className)}>
        <Icon icon={icon}/>
      </EnhancedButton>
    )
  }
})

module.exports = IconButton
{'fraction_non_alphanumeric': 0.15168539325842698, 'fraction_numerical': 0.0, 'mean_word_length': 3.702970297029703, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5887028', 'n_tokens_mistral': 457, 'n_tokens_neox': 453, 'n_words': 80}