Booking Slots
CRM · BookingSlots, Panel
Book a meeting: pick a day, then a free start time, in the host's time zone, and confirm.
- Days without free times are disabled; the first day with times is open by default.
valueandonChangehold the pick;onConfirmshows the confirm button.
Props
BookingSlots
| Prop | Type | Notes |
|---|---|---|
days | BookingDay[] | Required |
value? | { date: Date | string | number; time: string } | null | |
onChange? | (value: { date: Date | string | number; time: string }) => void | |
onConfirm? | (value: { date: Date | string | number; time: string }) => void | Shows "Confirm" once a time is picked. |
duration? | number | Minutes. |
timeZone? | string | Shown under the times, "Europe/Berlin". |
title? | string | |
host? | string | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
Panel
| Prop | Type | Notes |
|---|---|---|
side? | boolean | |
title? | string | |
subtitle? | string | |
action? | ReactNode | |
children? | ReactNode | |
surface? | Surface | `"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`. |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |