Props
Required Props
Prop | Type | Description |
---|---|---|
radius | number | The radius of the clock circle. This controls the overall size of the TimePicker. |
Optional props
Prop | Type | Default Value | Description |
---|---|---|---|
numberRadius | number | radius - 40 | Radius for positioning clock numbers. |
colors | See defaults | Customize clock elements, active/inactive colors, etc. | |
initialHour | number | 12 | Initial hour value (0–12 for AM/PM mode). |
initialMinute | initialMinute | 0 | Initial minute value (0–59). |
initialPeriod |
|
| Initial period (AM or PM). |
customComponents | - | Replace parts of the TimePicker with your own React components. | |
customStyles | - | customStyles | |
onValueChange |
| - | Callback triggered when the time value changes. |