<commit_before>import React from "react";

export default (props) => {
  const {value, setValue, config, valueFormat, use12Hours, readonly} = props;

  const onChange = e => {
    let value = e.target.value;
    if (value == "")
      value = undefined;
    setValue(value);
  };
  
  return (
    <input type="time"  value={value || ""}  disabled={readonly} onChange={onChange} />
  );
};<commit_msg>Adding customProps support to vanilla time<commit_after>import React from "react";

export default (props) => {
  const {value, setValue, config, valueFormat, use12Hours, readonly, customProps } = props;

  const onChange = e => {
    let value = e.target.value;
    if (value == "")
      value = undefined;
    setValue(value);
  };
  
  return (
    <input type="time"  value={value || ""}  disabled={readonly} onChange={onChange} {...customProps} />
  );
};
{'fraction_non_alphanumeric': 0.15777262180974477, 'fraction_numerical': 0.004640371229698376, 'mean_word_length': 3.4947916666666665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '2272205', 'n_tokens_mistral': 275, 'n_tokens_neox': 270, 'n_words': 71}