upgrade react 19, remove preact usage
This commit is contained in:
@@ -57,14 +57,18 @@ function Calendar({
|
||||
day_hidden: "invisible",
|
||||
...classNames,
|
||||
}}
|
||||
components={{
|
||||
IconLeft: ({ className, ...props }) => (
|
||||
components={
|
||||
{
|
||||
/*
|
||||
IconLeft: ({ className, ...props }: any) => (
|
||||
<ChevronLeft className={cn("h-4 w-4", className)} {...props} />
|
||||
),
|
||||
IconRight: ({ className, ...props }) => (
|
||||
IconRight: ({ className, ...props }: any) => (
|
||||
<ChevronRight className={cn("h-4 w-4", className)} {...props} />
|
||||
),
|
||||
}}
|
||||
*/
|
||||
}
|
||||
}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user