Kiarash-Z/react-modern-calendar-datepicker

Set Customized Array of Days on Month/Year Change

Opened this issue · 0 comments

Hi,
Thanks for the great library!
I'd like to use the Calendar component in a website project of mine and be able to programatically set the style for specific dates using your example Customized Array of Days and reset/recalculate those every time the month/year has been changed by the user.
Any idea how to accomplish this? Can I somehow utilise onChange and compare the month and year component of selectedDay?