<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import DatePicker from 'react-datepicker';
import  './uidatepicker.css';
 
/** A simple datepicker wrapper. */
function UIDatePicker({message}) {
  return <DatePicker
    />;
}
export default UIDatePicker;<commit_msg>Fixed passing event from dateexample to component<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import DatePicker from 'react-datepicker';
import  './uidatepicker.css';
 
/** A simple datepicker wrapper. */
function UIDatePicker({selected, onChange}) {
  return <DatePicker selected={selected} onChange = {onChange}
    />;
}
export default UIDatePicker;
{'fraction_non_alphanumeric': 0.11929307805596466, 'fraction_numerical': 0.0, 'mean_word_length': 5.415094339622642, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '664000', 'n_tokens_mistral': 190, 'n_tokens_neox': 190, 'n_words': 59}