import { FC } from 'react' import Link from 'next/link' 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 // TODO: use the product type here products?: any[] } const Head: FC = ({ categories, brands, products = [] }) => { return (
{products.map((product) => ( ))}
) } export default Head