Skip to content

Documentation / @jalali-js/ui-react / TimeRangePickerProps

Interface: TimeRangePickerProps

Defined in: ui-react/src/TimeRangePicker.tsx:11

Properties

className?

optional className?: string

Defined in: ui-react/src/TimeRangePicker.tsx:21


defaultRange?

optional defaultRange?: TimeRange

Defined in: ui-react/src/TimeRangePicker.tsx:15

The initial range. Default: 09:00 to 17:00.


disabledHours?

optional disabledHours?: readonly number[]

Defined in: ui-react/src/TimeRangePicker.tsx:19

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


locale?

optional locale?: LocaleCode

Defined in: ui-react/src/TimeRangePicker.tsx:13

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


minuteStep?

optional minuteStep?: number

Defined in: ui-react/src/TimeRangePicker.tsx:17

Minute options step for both ends. Default: 1.


onChange?

optional onChange?: (range) => void

Defined in: ui-react/src/TimeRangePicker.tsx:20

Parameters

range

TimeRange

Returns

void