Defined a date rang. But it allows to enter a date larger than a max date of the range. Both via calendar and manually.
const minDate = new Date(1, 1, 1);
const maxDate = new Date(9999, 12, 31);
return (
<DatePicker value = {this.state.value}
min={minDate}
max={maxDate}
/>