Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA provider choice, including any provider, that changes which times are free, and assigns the first free provider when any is chosen. Use this when a visit can be with a named person or whoever is free, and each has different booked times.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it when a visit can be with a named person or whoever is free, and each has different booked times.
Do not use it for a single resource; 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 |
|---|---|---|---|
| providers | { id: string; name: string; busy: string[] }[] | - | People and their booked start times for the day. |
| slots | string[] | 09:00-16:30 | All start times. |
| onValueChange | (choice: { time; providerId } | null) => void | - | providerId is the assigned person for Any. |
The pattern ships with a Testing Library test (provider-availability-slots.test.tsx) that covers free times per provider, the union for any provider and assignment.