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

export default function Button(props) {

  const {
    listboxId,
    onButtonClick,
    onButtonMouseDown
  } = props;

  return (
    <button
      aria-controls={listboxId}
      className={'Fusionbox-button'}
      onClick={onButtonClick}
      onMouseDown={onButtonMouseDown}
      style={{
        backgroundColor: 'transparent',
        border: 'none',
        cursor: 'pointer',
        height: 30,
        outlineOffset: -2,
        padding: 0,
        position: 'absolute',
        right: 0,
        top: 0,
        width: 24
      }}
      tabIndex={-1}>
      <svg
        style={{
          width: 10
        }}
        viewBox="0 0 23 14"
        xmlns="http://www.w3.org/2000/svg">
        <path d="M11.318 13.43l.003.005L22.636 2.12 20.515 0l-9.197 9.196L2.12 0 0 2.12l11.314 11.315.004-.004z" />
      </svg>
    </button>
  );

}

Button.propTypes = {
  listboxId: PropTypes.string.isRequired,
  onButtonClick: PropTypes.func.isRequired
};<commit_msg>Add missing Button PropType<commit_after>import React, { PropTypes } from 'react';

export default function Button(props) {

  const {
    listboxId,
    onButtonClick,
    onButtonMouseDown
  } = props;

  return (
    <button
      aria-controls={listboxId}
      className={'Fusionbox-button'}
      onClick={onButtonClick}
      onMouseDown={onButtonMouseDown}
      style={{
        backgroundColor: 'transparent',
        border: 'none',
        cursor: 'pointer',
        height: 30,
        outlineOffset: -2,
        padding: 0,
        position: 'absolute',
        right: 0,
        top: 0,
        width: 24
      }}
      tabIndex={-1}>
      <svg
        style={{
          width: 10
        }}
        viewBox="0 0 23 14"
        xmlns="http://www.w3.org/2000/svg">
        <path d="M11.318 13.43l.003.005L22.636 2.12 20.515 0l-9.197 9.196L2.12 0 0 2.12l11.314 11.315.004-.004z" />
      </svg>
    </button>
  );

}

Button.propTypes = {
  listboxId: PropTypes.string.isRequired,
  onButtonClick: PropTypes.func.isRequired,
  onButtonMouseDown: PropTypes.func.isRequired
};
{'fraction_non_alphanumeric': 0.1332703213610586, 'fraction_numerical': 0.07844990548204159, 'mean_word_length': 2.07703488372093, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '7268386', 'n_tokens_mistral': 819, 'n_tokens_neox': 715, 'n_words': 143}