1.0.0-rc • Published 23 days ago
cmz-product-card v1.0.0-rc
cmz-product-card
This a test package for deploy in NPM
CMZ
Example
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'cmz-product-card';
<ProductCard
product={product}
initialValues={{
count: 4,
maxCount: 10,
}} >
{({ reset, increaseBy, isMaxCountReached, count, maxCount }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>