import React from 'react' import Link from 'next/link' import * as Icon from 'react-feather' import { useSelector } from 'react-redux' import AddToCartBtn from '@/components/Shop/AddToCartBtn' //addon library import { resetIdCounter, Tab, Tabs, TabList, TabPanel } from 'react-tabs'; resetIdCounter(); //yarn library import NumberFormat from 'react-number-format'; const ProductCard = function ({ ygp, yamalube, helmet, apparel, accessories, backend, ...props }) { const products = useSelector((state) => state.products) console.log(ygp) const YGP = ygp.map((data) => { return (

{data.name}

Detail Product
); }) const Yamalube = yamalube.map((data) => { return (

{data.name}

Detail Product
); }) const Helmet = helmet.map((data) => { return (

{data.name}

Detail Product
) }) const Apparel = apparel.map((data) => { return (

{data.name}

Detail Product
) }) const Accessories = accessories.map((data) => { return (

{data.name}

Detail Product
) }) return (

Showing 1-8 of 14 results

YGP Yamalube helmet Apparel Accessories
{YGP}
{Yamalube}
{Helmet}
{Apparel}
{Accessories}
{/*
{Product} Pagination
*/}
) } export default ProductCard;