v1.0.3
Here are some highlights ✨
Move to the controlled state
From now this package would accept 1 prop to both inputs => value. It can be updated from outside, so from now we support controlled state.
<DateTimePicker
+ value={this.state.selectedDate} // can be null to display current day or nothing as in uncontrolled mode
- initialDate={this.state.selectedDate}
- defaultTime={this.state.selectedDate}
/>