1.0.0 • Published 5 months ago
dev-product-card v1.0.0
dev-product-card
It is a package for testing the deployment in NPM
Daniel Pompa Pareja
Example
import { ProductCard, ProductImage, ProductName, ProductButtons } from 'dev-product-card';
<ProductCard
product={product}
initialValues={{
count: 0,
// maxCount: 10
}}
>
{({ count, increaseOrDecreaseBy, isMaxCountReached, maxCount, reset }) => (
<>
<ProductImage />
<ProductName />
<ProductButtons />
</>
)}
</ProductCard>
1.0.0
5 months ago