-
Notifications
You must be signed in to change notification settings - Fork 495
Open
Description
index.d.ts defines props onSelect as:
https://github.com/react-component/calendar/blob/9.x/index.d.ts#L25
but the mixin allows for a second parameter:
https://github.com/react-component/calendar/blob/9.x/src/mixin/CalendarMixin.js#L94
I believe something like this would resolve the issue:
onSelect?: (date: Moment, cause?: {source: string}) => void;
Thanks!
Metadata
Metadata
Assignees
Labels
No labels