Skip to content

himanshuguptagit/reactjs-date-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reactjs-date-picker

Reactjs Component module to pick dates

Usage

  1. Import DatePicker module

    import DatePicker from './modules/datePicker.js'

  2. The DatePicker component takes a function object "getDateFromPicker" as a prop, which is used to get date in return.

<DatePicker getDateFromPicker = {this.getDateFromPicker}/>

this.getDateFromPicker can be used like this:

getDateFromPicker(pDate){
  this.setState({date: pDate});
}

The date-format is in the form:

date = {
  year: 2018,
  month: August,
  day: 13
}

About

Reactjs webapp to pick dates. Can later be conv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published