CalendarCellData
A single cell within a view matrix (month, year, or decade).
Props
The following table outlines the props for the CalendarCellData:
| Name | Type | Default | Description |
|---|---|---|---|
| col | number | - | The zero-based column index in the matrix. |
| date | Date | - | The canonical date represented by this cell.
|
| inRange | boolean | - | Whether this cell belongs to the main range of the base view.
|
| isToday | boolean | - | True if the cell corresponds to today's date (only meaningful for month view, but provided consistently). |
| isWeekend | boolean | - | True if the cell falls on a weekend (only meaningful for month view, but provided consistently). |
| kind | - | The view kind that generated this cell. | |
| label | string | - | A display label suitable for the cell (e.g., day number, month short name, or year). |
| row | number | - | The zero-based row index in the matrix. |