0.0.1 • Published 2 years ago

jczl94-product-card v0.0.1

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

jz-product-card

este es un paquete de pruebas de despliegue en npm

fernando herrera curso react-pro

ejemplo

import {ProductCard, ProductImage, ProductTitle, ProductButtons} from 'jz-product-card'
<ProductCard
    product={product}
    initialValues={{
        count: 4,
        maxCount: 10
    }}
>

     {
         ({ reset, count, increaseBy, isMaxCountReachemaxCount }) => (
             <>
                 <ProductImage />
                 <ProductTitle />
                 <ProductButtons />
             </>
         )
     }

</ProductCard>