InterfaceTimePickerProps
Interface: InterfaceTimePickerProps
Defined in: src/types/shared-components/TimePicker/interface.ts:7
Component Props for TimePicker
Properties
className?
optionalclassName:string
Defined in: src/types/shared-components/TimePicker/interface.ts:27
Additional CSS class name to be applied to the root element
data-testid?
optionaldata-testid:string
Defined in: src/types/shared-components/TimePicker/interface.ts:29
Test ID for testing purposes, applied to the underlying input
disabled?
optionaldisabled:boolean
Defined in: src/types/shared-components/TimePicker/interface.ts:25
Whether the time picker is disabled
disableOpenPicker?
optionaldisableOpenPicker:boolean
Defined in: src/types/shared-components/TimePicker/interface.ts:37
Whether to disable the open picker button
label?
optionallabel:string
Defined in: src/types/shared-components/TimePicker/interface.ts:9
Label displayed for the time picker
maxTime?
optionalmaxTime:Dayjs
Defined in: src/types/shared-components/TimePicker/interface.ts:23
Maximum selectable time constraint
minTime?
optionalminTime:Dayjs
Defined in: src/types/shared-components/TimePicker/interface.ts:21
Minimum selectable time constraint
onChange()
onChange: (
date) =>void
Defined in: src/types/shared-components/TimePicker/interface.ts:19
Callback fired when the time changes.
Parameters
date
Dayjs
The new time value.
Returns
void
slotProps?
optionalslotProps:Partial<TimePickerSlotProps<false>>
Defined in: src/types/shared-components/TimePicker/interface.ts:31
Additional props passed to MUI TimePicker slots (e.g., actionBar, layout)
slots?
optionalslots:Record<string,React.ElementType>
Defined in: src/types/shared-components/TimePicker/interface.ts:33
Custom slot component overrides (e.g., openPickerIcon, leftArrowIcon)
timeSteps?
optionaltimeSteps:object
Defined in: src/types/shared-components/TimePicker/interface.ts:35
Step increments for time controls (hours, minutes, seconds)
hours?
optionalhours:number
minutes?
optionalminutes:number
seconds?
optionalseconds:number
value?
optionalvalue:Dayjs
Defined in: src/types/shared-components/TimePicker/interface.ts:14
Current time value. Represented as a Dayjs object or null if no time is selected.