tc-product-card
Version:
Este es un paquete npm de pruebas
31 lines (28 loc) • 447 B
Markdown
# tr-product-card
Este es un paquete npm de pruebas
### Thomas Carreno
## Ejemplo
```
import{
ProductImage,
ProductTitle,
ProductButton,
ProductCard
}from'do-product-card';
```
```
<ProductCard
product={product}
initialValue={{
count: 4,
maxCount: 10,
}} >
{({ count, isMaxReached, maxCount, product, increasBy, reset }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButton />
</>
)}
</ProductCard>
```