import { Globe } from "@calcom/ui/components/icon"; import { timeZone as localStorageTimeZone } from "@lib/clock"; import TimeOptions from "@components/booking/TimeOptions"; export function TimezoneDropdown({ onChangeTimeZone, }: { onChangeTimeZone: (newTimeZone: string) => void; timeZone?: string; }) { const handleSelectTimeZone = (newTimeZone: string) => { onChangeTimeZone(newTimeZone); localStorageTimeZone(newTimeZone); }; return ( <>