import * as React from 'react'; import { ChevronLeftIcon, ChevronRightIcon } from 'lucide-react'; import { DayFlag, DayPicker, SelectionState, UI } from 'react-day-picker'; import { cn } from '@/lib/utils'; import { buttonVariants } from './button'; export type CalendarProps = React.ComponentProps; function Calendar({ className, classNames, showOutsideDays = true, ...props }: CalendarProps) { return ( ( ), // @ts-expect-error https://github.com/shadcn-ui/ui/issues/5799 IconRight: ({ className, ...props }) => ( ), }} {...props} /> ); } Calendar.displayName = 'Calendar'; export { Calendar };