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 newestProducts?: any } const Head: FC = ({ categories, brands, newestProducts }) => { return (
{newestProducts.map(({ node }: any) => ( ))}
) } export default Head