TimeSlotProps

Represents a single time division in the scheduler's time scale (e.g., 9:00 AM, 9:30 AM). Used in custom time slot templates to render hour or minute labels with context about the slot's position. Enables developers to create specialized time label formatting or localization strategies.

Props

The following table outlines the props for the TimeSlotProps:

NameTypeDefaultDescription
date
Date
-

The exact date and time represented by this time slot division in the scheduler. Useful for formatting custom time labels or applying time-specific logic.

type
string
-

Indicates whether this slot is a major division (hourly) or minor division (sub-hourly time subdivision). Values: 'majorSlot' for primary hour labels, 'minorSlot' for minute subdivisions.