Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA move-my-appointment flow that shows the current slot, refuses the same slot and any time inside the notice period, and confirms from old time to new time. Use this when a person changes an existing booking and the business needs minimum notice.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when a person changes an existing booking and the business needs minimum notice.
Do not use it for a first booking; use appointment-booker.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
| current | { date: string; time: string } | - | The existing appointment. |
| now | string | clock | Local date-time used for the notice rule. |
| noticeHours | number | 24 | Slots earlier than now plus this are disabled. |
| slotsFor | (date) => string[] | 09:00-16:30 weekdays | Open start times. |
| onReschedule | (from, to) => void | - | Called with the old and new slot. |
The pattern ships with a Testing Library test (reschedule-appointment.test.tsx) that covers the notice rule, the current slot being disabled and the reschedule callback.