1 | @# Time picker
|
2 |
|
3 | __TimePicker__ renders a UI to select a time.
|
4 |
|
5 | This component has no direct localization support. You should handle localization in your application if needed.
|
6 |
|
7 | @reactExample TimePickerExample
|
8 |
|
9 | @## Props interface
|
10 |
|
11 | Use the `onChange` prop to listen for changes to the set time. You can control the selected time by setting the
|
12 | `value` prop, or use the component in uncontrolled mode and specify an initial time by setting `defaultValue`.
|
13 |
|
14 | __TimePicker__ uses `Date` objects across its API but ignores their year, month, and day fields.
|
15 |
|
16 | @interface TimePickerProps
|