Function: Day()
May 8, 2026 ยท View on GitHub
Day(
props):Element
Defined in: packages/react-day-picker/src/components/Day.tsx:16
Render a grid cell for a specific day in the calendar.
Handles interaction and focus for the day. If you only need to change the
content of the day cell, consider swapping the DayButton component
instead.
Parameters
| Parameter | Type |
|---|---|
props | { day: CalendarDay; modifiers: Modifiers; } & HTMLAttributes<HTMLDivElement> |
Returns
Element