TimeRangePicker
Choose a start and end time.
Basic usage
basic.tsx
More examples
12-hour clock with secondsAllow an overnight range
advanced.tsx
Usage
Confirm to submit the draft. Type 09:00 ~ 18:00 and press Enter. allowOvernight allows an earlier end time to represent the following day.
Types
Import these types for data, callbacks and refs.
The exported TimeRange type is readonly [string, string], using 24-hour time strings.
Restrict available times
Business hours for both endpoints
capabilities.tsx