WorkHoursProps

Defines the business hours configuration for visual highlighting and reference in the scheduler. Enables users to quickly identify standard working hours during event planning with customizable start and end times. Supports visual emphasis through distinct background colors while maintaining the time range for reference purposes.

Props

The following table outlines the props for the WorkHoursProps:

NameTypeDefaultDescription
end
string
'18:00'

Sets the end time of the business hours range (e.g., '18:00' for 6 PM). Accepts time in short skeleton format.

highlight
boolean
false

Enables visual highlighting of the work hours time range with a distinct background color. When disabled, the time range is used only for reference without visual emphasis.

start
string
'09:00'

Sets the start time of the business hours range (e.g., '09:00' for 9 AM). Accepts time in short skeleton format.