masr-product-card
v1.0.0-rc
Published
Este es un paquete de pruebas de despliegue en NPM
Downloads
6
Maintainers
Readme
MASR-Product-Card
Este es un paquete de pruebas de despliegue en NPM
Alejandro Salgado
Ejemplo
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from "masr-product-card";
<ProductCard
product={product}
initialValues={{
count: 2,
maxCount: 10,
}}
>
{({ count, maxCount, reset, increaseBy, isMaxCountReached }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>