CalendarPicker
CalendarPicker copied to clipboard
How to limit year for the calendar
Currently we can toggle to any month and any year, how to block user navigating to different months and years
You can use the maxDate
props, if you need something more dynamic you can use the disabledDates
prop to pass an array of disable dates or function to test if it should be disabled.