import * as React from 'react'; import { ChevronLeftIcon, ChevronRightIcon } from 'lucide-react'; import { DayPicker } from 'react-day-picker'; import { classNames } from '../../lib/utils'; import { buttonVariants } from './button'; function Calendar({ className, classNames: classNamesProp, showOutsideDays = true, ...props }: React.ComponentProps) { return ( button]:hover:bg-primary [&>button]:hover:text-primary-foreground', today: 'rounded-md bg-muted text-foreground', outside: 'text-text-muted/50 aria-selected:text-text-muted/50', disabled: 'text-text-muted/40 [&>button]:pointer-events-none', hidden: 'invisible', ...classNamesProp, }} components={{ Chevron: ({ orientation, className: chevronClassName, ...rest }) => orientation === 'left' ? ( ) : ( ), }} {...props} /> ); } export { Calendar };