mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-22 22:58:15 +02:00
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:
1 file changed
+4
-2
@@ -52,8 +52,10 @@ function Calendar({
|
|||||||
...classNames,
|
...classNames,
|
||||||
}}
|
}}
|
||||||
components={{
|
components={{
|
||||||
IconLeft: ({ ..._props }) => <ChevronLeft className="h-4 w-4" />,
|
Chevron: ({ orientation, ...props }) => {
|
||||||
IconRight: ({ ..._props }) => <ChevronRight className="h-4 w-4" />,
|
const Icon = orientation === "left" ? ChevronLeft : ChevronRight;
|
||||||
|
return <Icon className="h-4 w-4" {...props} />;
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user