Fix TypeScript build errors

This commit is contained in:
gpt-engineer-app[bot]
2025-10-12 16:22:57 +00:00
parent 5637b37ebc
commit dd079bd5a5
12 changed files with 52 additions and 140 deletions

View File

@@ -55,9 +55,13 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C
...classNames,
}}
components={{
IconLeft: ({ ..._props }) => <ChevronLeft className="h-4 w-4" />,
IconRight: ({ ..._props }) => <ChevronRight className="h-4 w-4" />,
}}
Chevron: ({ orientation, ...props }: any) => {
if (orientation === 'left') {
return <ChevronLeft className="h-4 w-4" />;
}
return <ChevronRight className="h-4 w-4" />;
},
} as any}
{...props}
/>
);