Fix Transition of slider buttons

This commit is contained in:
aftabrehan
2024-02-03 10:18:03 +05:00
parent 8d238ee668
commit 4f1670c8bd

View File

@@ -205,7 +205,7 @@ const CarouselPrevious = React.forwardRef<
className,
variant = 'outline',
icon = (
<ArrowLeftIcon className="stroke-zinc-400 sm:group-hover:stroke-primary dark:sm:group-hover:stroke-white" />
<ArrowLeftIcon className="stroke-zinc-400 sm:group-hover:stroke-primary dark:sm:group-hover:stroke-white transition-all duration-300" />
),
...props
},
@@ -243,7 +243,7 @@ const CarouselNext = React.forwardRef<
className,
variant = 'outline',
icon = (
<ArrowRightIcon className="stroke-zinc-400 sm:group-hover:stroke-primary dark:sm:group-hover:stroke-white" />
<ArrowRightIcon className="stroke-zinc-400 sm:group-hover:stroke-primary dark:sm:group-hover:stroke-white transition-all duration-300" />
),
...props
},