<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import { Input, InputPresentation } from '../input';

// This component is a working example of what a Textbox might look like
// using only the new input componentry. It is never meant to be used as
// a replacement for the existing Textbox component, but just as a means
// of testing the implementation as it evolves.

/* istanbul ignore next */
const Textbox = ({ value }) => (
  <InputPresentation>
    <Input value={ value } />
  </InputPresentation>
);

Textbox.propTypes = {
  value: PropTypes.string
};

export default Textbox;
<commit_msg>added children prop to new textbox component<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import { Input, InputPresentation } from '../input';

// This component is a working example of what a Textbox might look like
// using only the new input componentry. It is never meant to be used as
// a replacement for the existing Textbox component, but just as a means
// of testing the implementation as it evolves.

/* istanbul ignore next */
const Textbox = ({ value, children }) => (
  <InputPresentation>
    <Input value={ value } />
    { children }
  </InputPresentation>
);

Textbox.propTypes = {
  children: PropTypes.node,
  value: PropTypes.string
};

export default Textbox;

{'fraction_non_alphanumeric': 0.09850746268656717, 'fraction_numerical': 0.0, 'mean_word_length': 3.823741007194245, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2883606', 'n_tokens_mistral': 359, 'n_tokens_neox': 361, 'n_words': 162}