mab-product-card
v1.0.0-rc
Published
## Ejemplo
Downloads
6
Maintainers
Readme
mab-product-card
Ejemplo
import {
ProductCard,
ProductImage,
ProductTitle,
ProductButtons,
} from 'mab-product-card';
<ProductCard
product={product}
initialValues={{
count: 4,
maxCount: 10,
}}
>
{({ count, maxCount, increaseBy, isMaxCountReached, reset }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>