"use client" import * as React from "react" import { DayPicker } from "react-day-picker" import { ChevronLeftIcon, ChevronRightIcon } from "lucide-react" import { cn } from "@/lib/utils" import { buttonVariants } from "@/components/ui/button" export type CalendarProps = React.ComponentProps function Calendar({ className, classNames, showOutsideDays = true, ...props }: CalendarProps) { return ( button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground [&>button]:focus:bg-primary [&>button]:focus:text-primary-foreground", today: "[&>button]:bg-accent [&>button]:text-accent-foreground", outside: "day-outside [&>button]:text-muted-foreground [&>button]:opacity-50", disabled: "[&>button]:text-muted-foreground [&>button]:opacity-50", range_middle: "[&>button]:bg-accent [&>button]:text-accent-foreground [&>button]:hover:bg-accent [&>button]:hover:text-accent-foreground", range_start: "day-range-start", range_end: "day-range-end", hidden: "invisible", ...classNames, }} components={{ Chevron: ({ orientation }) => orientation === "left" ? ( ) : ( ), }} {...props} /> ) } export { Calendar }