Function: Day()
Day(
props
):Element
Defined in: 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