1.0.0-rc • Published 2 years ago
jc-product-card v1.0.0-rc
JC-Product-Card
Este es un paquete de pruebas de despliegue en NPM
npm i jc-product-card
Ejemplo
import { ProductCard,ProductImage,ProductTitle,ProductButtons } from 'jc-product-card'
<ProductCard
product={product}
initialValues={{ count: 4, maxCount: 10 }}
>
{({ isMaxCountReached, increaseBy, count, reset, maxCount }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>