Type Alias: DayEventHandler()<EventType>
DayEventHandler<
EventType
>: (date
,modifiers
,e
) =>void
The event handler triggered when clicking or interacting with a day.
Type Parameters
Type Parameter | Description |
---|---|
EventType | The event type that triggered the event (e.g. React.MouseEvent , React.KeyboardEvent , etc.). |
Parameters
Parameter | Type | Description |
---|---|---|
date | Date | The date that has triggered the event. |
modifiers | Modifiers | The modifiers belonging to the date. |
e | EventType | The DOM event that triggered the event. |
Returns
void