feat: Add handleSlotSelect prop for custom timeslot selection/reservation handling (#21133)

* feat: Add `handleSlotSelect` prop for custom timeslot selection/reservation handling

* Update custom-slot-select-flow.mdx

* Update custom-slot-select-flow.mdx

* refactor: rename handleSlotSelect to handleSlotReservation for clearer intent

* docs: add API reference link for slot reservation api
This commit is contained in:
Somay Chauhan authored and GitHub committed 2025-05-08 15:13:58 +05:30
1 parent 78a34038d2
commit 024913592b
8 files changed
+5676 -58

No files matched your search

@@ -131,8 +131,10 @@ export default function Bookings(props: { calUsername: string; calEmail: string
? { isTeamEvent: true, teamId: teams?.[0]?.id || 0 }
: { username: props.calUsername })}
hostsLimit={3}
selectedDate={new Date("2025-03-25")}
allowUpdatingUrlParams={true}
handleSlotReservation={(timeslot) => {
console.log("Selected timeslot:", timeslot);
}}
/>
</>
)}