jblsomoza-product-card
v1.0.0-rc
Published
Este es un paquete de pruebas de despliegue en NPM
Downloads
5
Maintainers
Readme
JBLSOMOZA-Product-Card
Este es un paquete de pruebas de despliegue en NPM
Jhony Bryan Lopez Somoza
Ejemplo
import {ProductCard, ProductImage, ProductTitle, ProductButtons} from 'jblSomoza-product-card'
<ProductCard
key={ product.id }
product={ product }
initialValue={{
count: 4,
maxCount:10,
}}
>
{
({ reset, increaseBy, isMaxCountReached, count, }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>