feat: allow timezones selection in Booker atom via prop (#20044)

* expose props to pass in timezones and booking dry run values from outside

* fix merge conflicts

* update typings

* add props values to test

* fixup: PR feedback

* PR feedback

* fix wrong prop name

* fix merge conflicts

* fixup

* update docs

* update docs examples

* fix props naming

* fix timezone component logic and typo

* extract typings of timeZones

* update typings for Timezone

* update docs

* resolve merge conflicts

* fix typings

---------

Co-authored-by: Morgan <[email protected]>
This commit is contained in:
Rajiv SahalandMorgan authored and GitHub committed 2025-03-20 14:05:45 +00:00
1 parent efeb0a8f41
commit 08d4c800e9
11 files changed
+488 -17

No files matched your search

@@ -91,6 +91,8 @@ export default function Bookings(props: { calUsername: string; calEmail: string
{!bookingTitle && eventTypeSlug && !rescheduleUid && (
<>
<Booker
// timeZones={["Europe/London", "Asia/Kolkata"]}
// isBookingDryRun={true}
bannerUrl="https://i0.wp.com/mahala.co.uk/wp-content/uploads/2014/12/img_banner-thin_mountains.jpg?fit=800%2C258&ssl=1"
eventSlug={eventTypeSlug}
onCreateBookingSuccess={(data) => {