TimePicker
<timePicker>
is a UI component that lets users select time.
See also:
import * as React from "react";
<timePicker hour={selectedHour} minute={selectedMinute} />
<timePicker>
provides two-way data binding using v-model
.
Props
Name | Type | Description |
---|---|---|
hour | number | Sets the selected hour. |
minute | number | Sets the selected minute. |
time | Date | Sets the selected time. |
minHour | number | Sets the minimum selectable hour. |
maxHour | number | Sets the maximum selectable hour. |
minMinute | number | Sets the minimum selectable minute. |
maxMinute | number | Sets the maximum selectable minute. |
minuteInterval | number | Sets the selectable minute interval. For example: 5 or 15 minutes. Default value: 1 . |
onTimeChange | (args: EventData ) => void | Emitted when the selected time changes. |
Native component
Android | iOS |
---|---|
android.widget.TimePicker | UIDatePicker |