ITimeRangePickerProps
Definition
interface ITimeRangePickerProps {
title: string
/**
* Start time . Either a Date object or an time string (Ex: 01:10:00 pm)
*/
startTime: string | Date,
/**
* End time . Either a Date object or an time string (Ex: 01:10:00 pm)
*/
endTime: string | Date,
/**
* Callback that gets executed whenever a time range is selected/changed in the time picker
*/
onChange: (start: Date, end: Date) => void,
/**
* Set to true to prevent a user from typing in a time
*/
disableInput?: boolean,
spacingMode?: SpacingMode
}Usage
Related Types
Last updated