T

DurationRowProps

Props for DurationRow.

type DurationRowProps = { … }

Members

disabled?boolean

Dims the row and ignores input. Defaults to false.

labelstring

The row's label.

maximum?number

The longest duration, in milliseconds; none when omitted.

minimum?number

The shortest duration, in milliseconds; none when omitted.

onChange(value: number) => void

Called with the new duration, in milliseconds.

subLabel?string

Text shown under the input; none when omitted.

The units offered, smallest first; seconds, minutes and hours when omitted.

valuenumber

The saved duration, in milliseconds.