<commit_before>import React, { PropTypes } from 'react';
import styles from './Input.css';

const propTypes = {
  className: PropTypes.string,
};

export default function Input({ className = styles.Input, ...other }) {
  return (
    <span className={ styles.InputWrapper }><input { ...other } className={ className } /></span>
  );
}
<commit_msg>Adds simulated ref<commit_after>import React, { PropTypes } from 'react';
import styles from './Input.css';

const propTypes = {
  className: PropTypes.string,
  getInputRef: PropTypes.func,
};

export default function Input({ className = styles.Input, getInputRef, ...other }) {
  return (
    <span className={ styles.InputWrapper }>
      <input
        ref={ (c) => getInputRef(c) }
        className={ className }
        { ...other }
      />
    </span>
  );
}

{'fraction_non_alphanumeric': 0.1558282208588957, 'fraction_numerical': 0.0, 'mean_word_length': 3.2061855670103094, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '1272380', 'n_tokens_mistral': 237, 'n_tokens_neox': 239, 'n_words': 66}