"use client"; import * as React from "react"; import { ChevronLeft, ChevronRight } from "lucide-react"; import { ChevronProps, DayPicker, DropdownProps } from "react-day-picker"; import { cn } from "@/lib/utils"; import { buttonVariants } from "@/components/ui/button"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; export type CalendarProps = React.ComponentProps; export function CustomChevron(props: ChevronProps) { if (props.orientation === "left") { return ; } return ; } export function CustomSelectDropdown(props: DropdownProps) { const { options, value, onChange } = props; const handleChange = (value: string) => { if (onChange) { const changeEvent = { target: { value: value }, } as React.ChangeEvent; onChange(changeEvent); } }; return ( ); } function Calendar({ className, classNames, showOutsideDays = true, ...props }: CalendarProps) { return ( ); } Calendar.displayName = "Calendar"; export { Calendar };