Merge pull request #27 from R0m1k3/claude/fix-npm-ci-build-error-011CV3c2K4ETHdBRQUs7tkJf

Fix: Mise à jour du composant Calendar pour react-day-picker v9
This commit is contained in:
LogiFlow authored and GitHub committed 2025-11-12 08:54:19 +01:00
commit 5b7d2f0361
1 file changed
+4 -2
+4 -2
View File
@@ -52,8 +52,10 @@ function Calendar({
...classNames,
}}
components={{
IconLeft: ({ ..._props }) => <ChevronLeft className="h-4 w-4" />,
IconRight: ({ ..._props }) => <ChevronRight className="h-4 w-4" />,
Chevron: ({ orientation, ...props }) => {
const Icon = orientation === "left" ? ChevronLeft : ChevronRight;
return <Icon className="h-4 w-4" {...props} />;
},
}}
{...props}
/>