Function: Day()
Day(
props
):Element
Render the gridcell of a day in the calendar and handle the interaction and the focus with they day.
If you need to just change the content of the day cell, consider swapping the
DayDate
component instead.
Parameters​
Parameter | Type |
---|---|
props | {day : CalendarDay ;modifiers : Modifiers ; } & ClassAttributes <HTMLTableDataCellElement > & TdHTMLAttributes <HTMLTableDataCellElement > |
Returns​
Element
See​
https://daypicker.dev/guides/custom-components