Skip to content

sym233/date-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A datepicker with React.

V0.1.1

Usage:

import DatePicker from './DatePicker';

function fn(date){
  // fired when DatePicker changes date
  // parameter date: string, 'YYYY-MM-DD'
  //
}


ReactDOM.render(
  <DatePicker earliset-day={earliest_day} latest-day ={latest_day} callback={fn}/>,
  document.getElementById('root')
);

// earliest_day and latest_day are a string formatted as 'YYYY-MM-DD', default today and Infinity.

用gh-pages deploy老失败,原来没有装git,蛋疼。

About

A date-picker with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published