pick more than one date from the date picker with react
React Multiple Datepicker
Let's the user pick more than one date from the date picker.
Motivation
After looking at various date picking libraries out there I couldn't find a single one who lets users pick more than one date without enforcing a range, so I decided to write one myself.
Usage
yarn add react-multiple-datepicker
import MultipleDatePicker from 'react-multiple-datepicker'
render() {
<MultipleDatePicker
onSubmit={dates => console.log('selected date', dates)}
/>
}
Roadmap
- [ ] Make it responsive
- [ ] Support for
onDateSelect
prop. - [ ] Add test cases