<commit_before>import React from 'react'
import PropTypes from 'prop-types'
import AutosizeInput from 'react-input-autosize'

import styles from '../input.css'

const InvisibleNoFormInput = ({ onChange, value, ...props }) => (
  <AutosizeInput
    inputClassName={`
      ${styles.invisibleInput}
      ${!value && styles.invisibleInputEmpty}
    `}
    onChange={e => onChange(e.target.value)}
    value={value}
    {...props}
  />
)

InvisibleNoFormInput.propTypes = {
  onChange: PropTypes.func,
  value: PropTypes.string,
}

InvisibleNoFormInput.defaultProps = {
  onChange: () => {},
  value: '',
}

export default InvisibleNoFormInput<commit_msg>:wrench: Add some extra width to the invisibleinputnoform<commit_after>import React from 'react'
import PropTypes from 'prop-types'
import AutosizeInput from 'react-input-autosize'

import styles from '../input.css'

const InvisibleNoFormInput = ({ onChange, value, ...props }) => (
  <AutosizeInput
    inputClassName={`
      ${styles.invisibleInput}
      ${!value && styles.invisibleInputEmpty}
    `}
    onChange={e => onChange(e.target.value)}
    extraWidth={40}
    value={value}
    {...props}
  />
)

InvisibleNoFormInput.propTypes = {
  onChange: PropTypes.func,
  value: PropTypes.string,
}

InvisibleNoFormInput.defaultProps = {
  onChange: () => {},
  value: '',
}

export default InvisibleNoFormInput
{'fraction_non_alphanumeric': 0.14108187134502925, 'fraction_numerical': 0.0014619883040935672, 'mean_word_length': 3.978181818181818, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '4551930', 'n_tokens_mistral': 427, 'n_tokens_neox': 441, 'n_words': 89}