0

I want to use one SDP for the start date and the second for the end date, I'm using the following code.

<SingleDatePicker
 date={this.state.date} // momentPropTypes.momentObj or null
 onDateChange={date => this.setState({ date })} // 
 PropTypes.func.isRequired
 focused={this.state.focused} // PropTypes.bool
 onFocusChange={({ focused }) => this.setState({ focused })} // 
 PropTypes.func.isRequired
/>

0 Answers0