Skip to content

Documentation / @jalali-js/react / TimePickerProps

Interface: TimePickerProps

Defined in: react/src/TimePicker.tsx:8

Properties

className?

optional className?: string

Defined in: react/src/TimePicker.tsx:20


defaultValue?

optional defaultValue?: TimeOfDay

Defined in: react/src/TimePicker.tsx:12

The initial time when value is unset. Default: midnight.


disabledHours?

optional disabledHours?: readonly number[]

Defined in: react/src/TimePicker.tsx:16

Hours that do not appear in the hour list (0-23).


locale?

optional locale?: LocaleCode

Defined in: react/src/TimePicker.tsx:18

Which language the digit characters use. Default: 'en'.


minuteStep?

optional minuteStep?: number

Defined in: react/src/TimePicker.tsx:14

Minute options step (1, 5, 15, 30, ...). Default: 1.


onChange?

optional onChange?: (time) => void

Defined in: react/src/TimePicker.tsx:19

Parameters

time

TimeOfDay

Returns

void


value?

optional value?: TimeOfDay

Defined in: react/src/TimePicker.tsx:10

The selected time. When set, the picker is controlled.