import React, { useRef } from "react"; import top from "../../assets/images/top-buyer-1png.png"; import top2 from "../../assets/images/top-buyer-2.png"; import top3 from "../../assets/images/top-buyer-3.png"; import top4 from "../../assets/images/top-buyer-4.png"; import Icons from "../Helpers/Icons"; import SliderCom from "../Helpers/SliderCom"; export default function RecomendedSliders({ className }) { const settings = { arrows: false, dots: false, infinite: true, autoplay: true, slidesToShow: 4, slidesToScroll: 1, responsive: [ { breakpoint: 426, settings: { slidesToShow: 2, slidesToScroll: 1, }, }, ], }; const sellSlider = useRef(null); const buySlider = useRef(null); const prevHandler = (value) => { if (value === "sell") { sellSlider.current.slickPrev(); } if (value === "buy") { buySlider.current.slickPrev(); } }; const nextHandler = (value) => { if (value === "sell") { sellSlider.current.slickNext(); } if (value === "buy") { buySlider.current.slickNext(); } }; return ( <> {/*
This is short title
Some wondersull text here and more
This is short title
Some wondersull text here and more
This is short title
Some wondersull text here and more
This is short title
Some wondersull text here and more
This is short title
Some wondersull text here and more
This is short title
Some wondersull text here and more
This is short title
Some wondersull text here and more