npm react-date-range code example
Example: datepicker range npm reactjs
<DateRangePicker initialSettings={{ startDate: '01/01/2020', endDate: '01/15/2020' }}> <input type="text" className="form-control" /></DateRangePicker>
<DateRangePicker initialSettings={{ startDate: '01/01/2020', endDate: '01/15/2020' }}> <input type="text" className="form-control" /></DateRangePicker>