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' interface Props { categories?: any brands?: any products?: Product[] } const HomeAllProductsGrid: FC = ({ categories, brands, products = [], }) => { return (
{products.map((product) => ( ))}
) } export default HomeAllProductsGrid