1.0.0-rc • Published 2 years ago
tq-do-product-card v1.0.0-rc
React NPM module
This is a test module to deployment
Example
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'sy-product-card';
<ProductCard
product={product}
initialValues={{
count: 6,
// maxCount: 10,
}}
>
{({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>