0.1.0 • Published 2 years ago
aj-product-card v0.1.0
aj-product-card
Este es un paquete de pruebas de despliegue en npm
Ayrton Juarez
Ejemplo
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from "aj-product-card"
<ProductCard
key={product.id}
product={product}
initialValues={{
count: 0,
maxCount: 10,
}} >
{({ reset, increaseBy, count, isMaxCountReached }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>
0.1.0
2 years ago