<commit_before>import React from 'react';
import PropTypes from 'prop-types';
/* eslint-disable import/no-extraneous-dependencies*/
import TextField from 'material-ui/TextField';
import ReactAmountField from './ReactAmountField';

const render = (props) => {
  const inputProps = { ...props.input };
  return <ReactAmountField id={props.id} {...inputProps}><TextField /></ReactAmountField>;
};

render.propTypes = {
  id: PropTypes.string,
  input: PropTypes.node.isRequired,
};

export default render;<commit_msg>moving node prop to object<commit_after>import React from 'react';
import PropTypes from 'prop-types';
/* eslint-disable import/no-extraneous-dependencies*/
import TextField from 'material-ui/TextField';
import ReactAmountField from './ReactAmountField';

const render = (props) => {
  const inputProps = { ...props.input };
  console.log(inputProps);
  return <ReactAmountField id={props.id} {...inputProps}><TextField /></ReactAmountField>;
};

render.propTypes = {
  id: PropTypes.string,
  input: PropTypes.object.isRequired,
};

export default render;
{'fraction_non_alphanumeric': 0.14392523364485982, 'fraction_numerical': 0.0, 'mean_word_length': 5.12, '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': '6700232', 'n_tokens_mistral': 309, 'n_tokens_neox': 316, 'n_words': 78}