import Link from 'next/link' import React from 'react' import { ProductProps } from 'src/utils/types.utils' import ButtonCommon from '../ButtonCommon/ButtonCommon' import ButtonIconBuy from '../ButtonIconBuy/ButtonIconBuy' import ItemWishList from '../ItemWishList/ItemWishList' import LabelCommon from '../LabelCommon/LabelCommon' import s from './ProductCard.module.scss' import ProductNotSell from './ProductNotSell/ProductNotSell' export interface ProductCardProps extends ProductProps { buttonText?: string } const ProductCard = ({ category, name, weight, price, buttonText = 'Buy Now', imageSrc, isNotSell, }: ProductCardProps) => { if (isNotSell) { return