import { FC } from 'react' import cn from 'classnames' import Image from 'next/image' import s from './ProductCard.module.css' // import WishlistButton from '@components/wishlist/WishlistButton' interface Props { className?: string product: Product variant?: 'slim' | 'simple' } const ProductCard: FC = ({ className, product, variant }) => { const defaultImageProps = { layout: 'responsive', } return ( {variant === 'slim' ? (
{product.name} {/* Image */}
) : ( <>

{product.name}

{product.price}
{/* Image */} {product.name}
)}
) } export default ProductCard