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