1.0.0-rc • Published 2 years ago

jliv-product-card v1.0.0-rc

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

JLIV-Product-Card

Este es un paquete de pruebas de despliegue NPM

Jorge Luis Ibarra Valdez

Ejemplo

import { ProductCard, ProductImage, ProductTitle, ProductButtons  } from 'jliv-product-card';
<ProductCard 
    product={ product } 
    initialValues={{
        count: 4,
        maxCount: 10,   
    }}
>
    {
        ( { count, maxCount, isMaxCountReached, increaseBy, reset } ) => (
              <>
                <ProductImage /> 
                <ProductTitle  /> 
                <ProductButtons />                
              </>
        )
    }      
</ProductCard>