Missmatch with RightArrow

This commit is contained in:
Bel Curcio
2021-06-05 15:35:31 -03:00
parent bc6e2adf86
commit caf1ac04ac
6 changed files with 12 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ import React, {
import cn from 'classnames'
import { a } from '@react-spring/web'
import s from './ProductSlider.module.css'
import { ChevronLeft, ChevronRight } from '@components/icons'
import { ArrowLeft, ArrowRight } from '@components/icons'
const ProductSlider: FC = ({ children }) => {
const [currentSlide, setCurrentSlide] = useState(0)
@@ -86,14 +86,14 @@ const ProductSlider: FC = ({ children }) => {
onClick={slider.prev}
aria-label="Previous Product Image"
>
<ChevronLeft />
<ArrowLeft />
</button>
<button
className={cn(s.rightControl)}
onClick={slider.next}
aria-label="Next Product Image"
>
<ChevronRight />
<ArrowRight />
</button>
</div>
)}