Time Range
{
//if (startDate && endDate)
// this.setState({ timeRange: [startDate.toISOString(), endDate.toISOString()]});
this.setState({ startDate, endDate });
}} // PropTypes.func.isRequired,
focusedInput={this.state.focusedInput} // PropTypes.oneOf([START_DATE, END_DATE]) or null,
onFocusChange={focusedInput => this.setState({ focusedInput })} // PropTypes.func.isRequired,
isOutsideRange={() => false}/>