import React from "react" import { ChevronLeft, ChevronRight } from "lucide-react" import { DayPicker } from "react-day-picker" import { cn } from "@/lib/utils" import { buttonVariants } from "@/components/ui/button" export type CalendarProps = React.ComponentProps function Calendar({ className, classNames, showOutsideDays = true, ...props }: CalendarProps) { // Week-ends stylés mais TOUJOURS SÉLECTIONNABLES pour les tâches const isWeekend = (date: Date) => { const day = date.getDay(); return day === 0 || day === 6; // Dimanche ou Samedi }; return ( ( ), IconRight: ({ className, ...props }) => ( ), }} {...props} /> ) } Calendar.displayName = "Calendar" export { Calendar }