3.1.14 • Published 3 years ago

norama-react-modern-calendar-datepicker v3.1.14

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

norama-react-modern-calendar-datepicker

A modified version of Kiarash-Z/react-modern-calendar-datepicker, forked from HassanMojab/react-modern-calendar-datepicker because that version solves a calendarElement null check bug.

This fork implements the feature of showing more consecutive months in a row.

New properties added to DatePicker and Calendar:

  • numberOfMonths: number of consecutive months to be shown (default: 1)
  • computeActiveDateRef(optional): reference object - its current will be set to a function which recomputes the active date shown based on the value passed or based on the calendar value set if called without parameter

For further information refer to the original documentation.

Installation 🚀

npm i norama-react-modern-calendar-datepicker

# or if you prefer Yarn:
yarn add norama-react-modern-calendar-datepicker

LICENSE

MIT