import { ChevronLeft, ChevronRight } from "lucide-react"; import dayjs from "@calcom/dayjs"; import { Button, ButtonGroup } from "@calcom/ui"; import { useBookerStore } from "../store"; export function LargeViewHeader({ extraDays }: { extraDays: number }) { const layout = useBookerStore((state) => state.layout); const selectedDateString = useBookerStore((state) => state.selectedDate); const addToSelectedDate = useBookerStore((state) => state.addToSelectedDate); const isLargeTimeslots = layout === "large_timeslots"; const selectedDate = dayjs(selectedDateString); if (!isLargeTimeslots) return null; return (

{selectedDate.format("MMM D")}-{selectedDate.add(extraDays, "days").format("D")},{" "} {selectedDate.format("YYYY")}

); }