1.0.1 • Published 6 years ago
react-rethink-datepicker v1.0.1
react-rethink-datepicker
Rethinking the date picker UI by making date selection work for humans
Based on this article by Jason Ford https://uxdesign.cc/rethinking-the-date-picker-ui-99b9dcb303ad
Usage
Default usage:
<DatePicker/>
With default date set as today:
<DatePicker showToday/>
With locale:
<DatePicker showToday locale="fr" onDatePicked={this.onDateSelect} />
Getting selected date value on a callback:
onDateSelect(d) {
console.log(d.toString());
}
Demo
https://rajasegar.github.io/react-rethink-datepicker
Things to do
- Leap year
- Default Options
- Tests
- Storybook
- And much more...
Credits
Jason Ford from UX Collective https://uxdesign.cc/rethinking-the-date-picker-ui-99b9dcb303ad