T
DurationRowProps
Props for DurationRow.
type DurationRowProps = { … }Members
disabled?
booleanDims the row and ignores input. Defaults to false.
label
stringThe row's label.
maximum?
numberThe longest duration, in milliseconds; none when omitted.
minimum?
numberThe shortest duration, in milliseconds; none when omitted.
onChange
(value: number) => voidCalled with the new duration, in milliseconds.
subLabel?
stringText shown under the input; none when omitted.
The units offered, smallest first; seconds, minutes and hours when omitted.
value
numberThe saved duration, in milliseconds.