react-rethink-datepicker
react-rethink-datepicker React component
Last updated 2 years ago by rajasegar .
MIT · Original npm · Tarball · package.json
$ cnpm install react-rethink-datepicker 
SYNC missed versions from official npm registry.

react-rethink-datepicker

Travis npm package Coveralls

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

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |