0.0.5 • Published 2 years ago
cangel-product-card v0.0.5
cangel-product-card
Este es un paquete pruebas de despliegue a NPM
Ejemplo
import { ProductCard } from 'cangel-product-card';
<ProductCard
product={product}
initialValues={{
count: 4, // optional
maxCount: 10, // optional
}}
>
{({ reset, increaseBy, count, isMaxCountReached, maxCount }) => (
<>
<ProductCard.Image />
<ProductCard.Title />
<ProductCard.Buttons />
</>
)}
</ProductCard>