Skip to content

veganson/react-minimal-datepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-minimal-datepicker

npm

screenshot

usage:

npm install --save react-minimal-datepicker
import ReactMinimalDatepicker from 'react-minimal-datepicker';
// inside your render method:
<ReactMinimalDatepicker/>

available props:

  • onChange - is called when datepicker's value is changed. You can specify format of the value with "format" prop
  • format - string that momentjs will use to parse datepicker's value in onChange
  • onDayChange, onMonthChange, onYearChange
  • numberOfYearsToShow
  • containerClassName
  • stylesForYearInput, stylesForMonthInput, stylesForDayInput
  • classNameForYearInput, classNameForMonthInput, classNameForDayInput
  • selected - timestamp(number or string) that defines datepicker's value

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published