From af67cd05311e91eff320b9909c6e4ddbf778ce32 Mon Sep 17 00:00:00 2001 From: Enes Kutay SEZEN Date: Mon, 12 Jan 2026 14:19:44 +0300 Subject: [PATCH] Remove style dependency --- src/assets/icons/ArrowLeftIcon.tsx | 14 ++++++++++---- src/components/carousel.tsx | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/assets/icons/ArrowLeftIcon.tsx b/src/assets/icons/ArrowLeftIcon.tsx index 610594a..a4506a3 100644 --- a/src/assets/icons/ArrowLeftIcon.tsx +++ b/src/assets/icons/ArrowLeftIcon.tsx @@ -1,9 +1,15 @@ import * as React from 'react'; import { SVGProps } from 'react'; -import { cn } from '@/utils'; -import ArrowRightIcon from '@/assets/icons/ArrowRightIcon'; -const ArrowLeftIcon = ({ className, ...props }: SVGProps) => ( - +const ArrowLeftIcon = (props: SVGProps) => ( + + + ); export default ArrowLeftIcon; diff --git a/src/components/carousel.tsx b/src/components/carousel.tsx index 4dc3592..91a5c45 100644 --- a/src/components/carousel.tsx +++ b/src/components/carousel.tsx @@ -325,7 +325,7 @@ function CarouselNavButton({ onClick={handleClick} {...props}> {isPrevious ? ( - + ) : ( )}