1.0.0-rc • Published 2 years ago
jsua-product-card v1.0.0-rc
JSUA-Product-Card
Este es un paquete de pruebas de NPM
Juan Sebastian Usuga
Ejemplo
import {ProductCard, ProductImage, ProductTitle, ProductButtons} from 'jsua-product-card';
<ProductCard
product={product}
initialValues={{
count: 4,
// maxCount: 10
}}
>
{
({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>