import { FC } from 'react' import Link from 'next/link' import type { Product } from '@commerce/types' import { Grid } from '@components/ui' import { ProductCard } from '@components/product' import s from './HomeAllProductsGrid.module.css' import { getCategoryPath, getDesignerPath } from '@lib/search' import wishlist from '@framework/api/wishlist' interface Props { categories?: any brands?: any products?: Product[] wishlist?: boolean } const HomeAllProductsGrid: FC = ({ categories, brands, products = [], wishlist = false, }) => { return (
{products.map((product) => ( ))}
) } export default HomeAllProductsGrid