1.0.0-rc • Published 2 years ago

cme-product-card v1.0.0-rc

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

Create product card

Este es un paquete para hacer prueba de despliegue a NPM

Ejemplo

Use el siguiente ejemplo para probar el paquete

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

2 years ago

0.0.1

2 years ago