TimePicker API Overview
Initialization
import { TimePicker } from "@svar-ui/react-core";
// minimal configuration for initialization in React
export default function App() {
return <TimePicker />;
}
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
TimePicker Properties
css | Optional. Changes the position of the icon in the input |
disabled | Optional. Defines whether a time picker is disabled |
error | Optional. Defines whether error styling is applied to a time picker |
format | Optional. Sets the time format for a time picker input |
id | Optional. Sets an HTML id for a time picker |
title | Optional. Sets a tooltip text with additional info about the control |
value | Optional. Sets the value of a time picker |
TimePicker Events
change | Fires when a new option is selected in the time picker |