import React, { useRef } from "react"; import ProductCardStyleTwo from "../Cards/ProductCardStyleTwo"; import Icons from "../Helpers/Icons"; import SliderCom from "../Helpers/SliderCom"; export default function ShopTrendingAction({ className, trendingShop }) { const settings = { arrows: false, slidesToShow: 3, slidesToScroll: 3, infinite: true, }; const trendingSlider = useRef(null); const prevHandler = () => { trendingSlider.current.slickPrev(); }; const nextHandler = () => { trendingSlider.current.slickNext(); }; return ( <>
{/* heading */}

Tranding Action

{/* trending products */}
{trendingShop && trendingShop.length > 0 && trendingShop.map((item) => ( ))}
); }