F

DurationRow

A settings input for a duration: an amount, and the unit it is in. The duration saves in milliseconds.

function DurationRow(props: DurationRowProps): ReactElement

Parameters

NameTypeDescription
propsDurationRowProps

The row's label, saved duration, range, units and change handler.

Returns

ReactElement

The row.