API Reference
DayCellTemplateState
interfaceState exposed by the DayCellTemplate component.
Defined in package/src/types.ts:640
| Prop | Type | Default | Description |
|---|---|---|---|
| root* | RootState<F> | — | |
| date* | PlainDate | — | |
| columnIndex* | number | — | |
| orientation* | GridOrientation | — | |
| selected* | boolean | — | |
| today* | boolean | — | |
| disabled* | boolean | — | |
| outsideMonth* | boolean | — | |
| hidden* | boolean | — | |
| focused* | boolean | — | |
| rangeStart* | boolean | — | |
| rangeEnd* | boolean | — | |
| rangeBoundary* | boolean | — | |
| inRange* | boolean | — | Whether this cell is within the committed range. |
| rangeIndex* | number | false | — | 0-based index of this cell within the committed range, or false if not in range. |
| rangeLength* | number | false | — | Total number of days in the committed range, or false if not in range. |
| rangeHasStart* | boolean | — | Whether the committed range has a defined start boundary. |
| rangeHasEnd* | boolean | — | Whether the committed range has a defined end boundary. |
| rangePreviewStart* | boolean | — | Whether this cell is the start of the hover preview range. |
| rangePreviewEnd* | boolean | — | Whether this cell is the end of the hover preview range. |
| rangePreviewBoundary* | boolean | — | Whether this cell is a boundary of the hover preview range. |
| rangePreviewInRange* | boolean | — | Whether this cell is within the hover preview range. |
| rangePreviewIndex* | number | false | — | 0-based index of this cell within the preview range, or false if not in preview range. |
| rangePreviewLength* | number | false | — | Total number of days in the preview range, or false if not in preview range. |
| rangePreviewHasStart* | boolean | — | Whether the preview range has a defined start boundary. |
| rangePreviewHasEnd* | boolean | — | Whether the preview range has a defined end boundary. |