1.0.1-rc • Published 2 years ago

javimcl-product-card v1.0.1-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

#jl-Product-card

Este es un paquete de despliegue en NPM

Javier Lucero

Ejemplo

import { ProductButtons, ProductCard, ProductoImage, ProductoTitle } from 'javimcl-product-card';
 <ProductCard
               
                product={product}
                
                initialValues={{
                    count: 4,
                    maxCount: 10
                }}
            >

                {
                    ({reset, isMaxCountReached, count, increaseBy, maxCount}) => (
                        <>
                            <ProductoImage />
                            <ProductoTitle  />
                            <ProductButtons />

                           
                            

                        </>
                    )
                }

            </ProductCard>