Date-Time Picker
A popover that combines a Calendar with hours/minutes (and optional seconds and AM/PM toggle) — useful for scheduling events that need a precise timestamp.
Installation
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | Date | — | Controlled date-time value. |
onChange | (date: Date | undefined) => void | — | Called whenever the date or time changes. |
placeholder | string | "Pick a date and time" | Trigger placeholder. |
use24Hour | boolean | false | Use 24-hour clock instead of 12-hour AM/PM. |
showSeconds | boolean | false | Include a seconds field. |
disabled | boolean | false | Disable the trigger. |