diff --git a/src/components/ui/calendar.tsx b/src/components/ui/calendar.tsx index 69bfe3c..5f41118 100644 --- a/src/components/ui/calendar.tsx +++ b/src/components/ui/calendar.tsx @@ -52,8 +52,10 @@ function Calendar({ ...classNames, }} components={{ - IconLeft: ({ ..._props }) => , - IconRight: ({ ..._props }) => , + Chevron: ({ orientation, ...props }) => { + const Icon = orientation === "left" ? ChevronLeft : ChevronRight; + return ; + }, }} {...props} />