ghl-product-card
v1.0.0-rc
Published
Este es un paquete de pruebas de despliegue en NPM
Downloads
13
Maintainers
Readme
GHL-Product-Card
Este es un paquete de pruebas de despliegue en NPM
Gustavo Hernández López
Ejemplo
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'ghl-product-card'
<ProductCard
product={ product }
initialValues={{
count: 4,
maxCount: 10,
}}
>
{
({ count, maxCount, isMaxCountReached, increaseBy, reset }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>