1.0.0-rc • Published 3 years ago

gj-product-card02 v1.0.0-rc

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

GJ-Product-Card

Este es un paquete de pruebas de despliegue a NPM

Gonzalo Jerez

Ejemplo

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