Skip to main content

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​

ParameterType
props{day: CalendarDay;modifiers: Modifiers; } & ClassAttributes<HTMLTableDataCellElement> & TdHTMLAttributes<HTMLTableDataCellElement>

Returns​

Element

See​

https://daypicker.dev/guides/custom-components

Defined in​

src/components/Day.tsx:16