TimePicker
@spartanfx/react / index / TimePicker
Variable: TimePicker
const TimePicker: React.FunctionComponent<ITimePickerProps>;
Internal time picker rendered inside the DateTimePicker popup.
Exposed as a public component too, so consumers can embed it in custom
layouts (e.g. dialogs, panels) while keeping the same look & feel.
Example
<TimePicker
hours={14}
minutes={30}
format={TimeFormat.H24}
onChange={({ hours, minutes }) => console.log(hours, minutes)}
/>