Skip to content

humingzhi/react-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-calendar

a simple react calendar component

available options:

prop type meaning defaults options
language string * chinese chinese/english
value Date default value of component null *
daysFormat string * YYYY年MM月DD日 YYYY/MM/DD
open bool open when mount false true/false
onChange func trigger when new value chose undefined ------
clearWhenCancel bool clear when user click cancel button false true/false
viewMode string now just support days view mode days ---------
inputProps object props for input element null --------
closeOnSelect bool close when use chose a value false true/false
closeOnClickOutside bool close when use click outside the component true true/false
disablePanelAnimation bool disable animation inside the component false true/false
panelAnimation string animation for the component show up fade fade/zoom

get start

clone this repo and run npm install && npm start, then open browser at localhost:3003

About

a simple react calendar component

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors