https://codesandbox.io/s/rwpyv82m44 https://www.npmjs.com/package/rc-calendar
Warning: Material-UI: the value provided `undefined` to the Tabs component is invalid.
Non of the Tabs children have this value.
You can provide one of the following values: 0, 1.
calendarClear = data => {
console.log("calender clear event", data);
};
<DatePicker
animation="slide-up"
value={moment(this.state.date)}
disabled={false}
calendar={calendar}
onChange={this.handleChange}
onClear={this.calendarClear}
>
{({ value }) => {
return <input value={moment(value).format("M/D/YY")} />;
}}
</DatePicker>