0.0.1 • Published 1 year ago
nbrm-product-card v0.0.1
NBRM-Product-Card
- Este es un paquete de despliegues en NPM
Nataly Rojas
Ejemplo
import { ProductTitle, ProductImg, ProductBtns } from 'nbrm-product-card';
<ProductCard
key={product.id}
product={product}
initialValues={{
count: 4,
// maxCount: 10,
}}
>
{({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImg />
<ProductTitle />
<ProductBtns />
</>
)}
</ProductCard>
0.0.1
1 year ago