0.1.0 • Published 2 years ago
ajla-product-card v0.1.0
AJLA PRODUCT CARD
This is a test package to deploy in NPM
Example
<ProductCard
product={product1}
className="bg-dark"
initialValues={{
count: 4,
maxCounter: 8,
}}
>
{({reset}) => (
<>
<ProductCard.Image className="custom-image" />
<ProductCard.Title className="text-white" />
<ProductCard.Buttons className="custom-buttons" />
<button onClick={reset}>Reset</button>
</>
)}
</ProductCard>
0.1.0
2 years ago