Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DayPickerInput.onDayChange wrong type in TypeScript definition? #622
I'm trying out the DayPickerInput component in TypeScript, but I can't access the modifiers in the onDayChange event. Are the TypeScript typings wrong? Or am I missing something?
From the docs:
Should this be instead:
Is there a type for Modifiers btw?
If I try to do this:
this should work (?), but does not..: