1.0.0-rc • Published 2 years ago
prodcut-card-learn v1.0.0-rc
product-card-learn
This is a npm deploy test package
Juan Casals
Example
import { ProductCard, ProductImage,ProductTitle, ProductButtons } from 'product-card-learn';
<ProductCard
product={product}
initialValues={{
count: 4,
// maxCount: 10,
}}
>
{({ reset, increaseBy, maxCount, isMaxCountReached, count }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>