FormsDuration Input
Duration Input
The duration input lets users input an amount of time duration, not a specific time.
DurationInputProps
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
display | time|duration | — | time | Display format for the input |
onChange | (minutes?: number) => void | Yes | — | Called when duration input value changes |
value | string | number | — | — | Time duration value |
Also accepts ValidNativeInputProps, ValidBalanceInputProps | ||||