0.0.1 • Published 2 years ago
dab-product-card v0.0.1
dab-product-card
This is a test package to deploy to NPM
Daniel Ángel Barreto
Example
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'dab-product-card';
<ProductCard
product={ product }
initialValues={{
count: 6,
// maxCount: 10,
}}
>
{
({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>
0.0.1
2 years ago