@eteg/react-tables
v1.0.0
Published
Custom components relating based on Zendesk Garden Design System
Readme
Time Picker
Time Picker allows the user to select the hour and minutes in addition to being able to manually type
- To select a time, use a Time Picker
| Prop name | Type | Default | Description | | :-------- | :----: | ------: | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | title | string | - | It will define the title that will be positioned at the top of the component | | mode | string | - | It will specify for the component which mode it will be used, as 'DEFAULT' mode or as 'MODAL' mode, if the 'MODAL' option is chosen, the 'callback' prop will become mandatory | | callback | func | - | Function that will be used only when the 'mode' prop is passed with the value 'MODAL', which will be used to return the value to the parent component |
