npm-count-product-card
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

npm-Count-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Nicolas Ruz F

Link NPM

https://www.npmjs.com/package/npm-count-product-card

Ejemplo - Curso Fernado Herrera

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

Package Sidebar

Install

npm i npm-count-product-card

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

162 kB

Total Files

30

Last publish

Collaborators

  • n.ruz