pc-product-card-react-ts
v1.0.0-rc
Published
Este es un paquete de pruebas de despliegue en NPM
Downloads
23
Maintainers
Readme
PC-Prudct-Card
Este es un paquete de pruebas de despliegue en NPM
Paul Ccuno
Ejemplo
import {
ProductButtons,
ProductCard,
ProductImage,
ProductTitle,
} from '../components';
<ProductCard
key={product.id}
product={product}
initialValues={{
count: 4,
// maxCount: 10,
}}
>
{({ count, isMaxCountReached, maxCount, reset, increaseBy }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>