Type Alias: MonthChangeEventHandler()
MonthChangeEventHandler: (
month
) =>void
The event handler when a month is changed in the calendar.
<DayPicker onMonthChange={(month) => console.log(month)} />
Parameters
Parameter | Type |
---|---|
month | Date |
Returns
void
See
https://daypicker.dev/docs/navigation