kbr-product-card
v1.0.0-rc
Published
Este es una prueba de despliegue de un paquete en npm.
Downloads
7
Readme
KBR-Product-Card
Este es una prueba de despliegue de un paquete en npm.
import {
ProductCard,
ProductImage,
ProductTitle,
ProductButtons,
} from 'kbr-product-card';
<ProductCard
product={product}
initialValues={{
count: 8,
maxCount: 20,
}}
>
{({ reset, count, maxCount, isMaxCountReached, increaseBy }) => (
<>
<ProductImage className="custom-image" />
<ProductTitle className="text-bold" />
<ProductButtons className="custom-buttons" />
</>
)}
</ProductCard>