jmg-product-card
v1.0.0-rc
Published
Este es un paquete de pruebas de despliegue en NPM
Downloads
74
Readme
jmg-Product-Card
Este es un paquete de pruebas de despliegue en NPM
Javier Martinez
Ejemplo
import {ProductCard,ProductImage,ProductTitle,ProductButtons} from 'jmg-product-card
<ProductCard
product={product}
initialValues={{
count: 2,
// maxCount: 15,
}}
>
{({ reset, count, isMaxCountReached, increaseBy, maxCount }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>