Rudeg / react-input-calendar

http://rudeg.github.io/react-input-calendar/
MIT License
139 stars 94 forks source link

Adds 2 new setting options; Resolves issue #122 #127

Closed ds2co closed 6 years ago

ds2co commented 6 years ago

Added two new setting options:

  1. displayYrWithMonth {boolean}: Allows the user to change the header on Day View from just month to month and year. Default is false.
  2. defaultView {int} : lets the user set the view that they want the calendar to open in. Default is 0. Notes:
    • if the user sets the minView but not defaultView, the currentView is defaulted to minView.
    • if the user sets the minView higher than the defaultView, the currentView is default to minView.
    • else the currentView is set to defaultView.
Rudeg commented 6 years ago

Thanks! :)