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

0.0.1 • Public • Published

Product-Card

Ejemplo de paquete para subir a npm

Example

import {ProductCard, ProductImage, ProductTitle, ProductButtons } from 'ml-product-card'

<ProductCard
    producto={product}
    initialValues={{
    count: 4,
    maxCount: 10
}}>
    {
        ({reset, count, increaseBy, isMaxReached, maxCount}) => (
            <>
                <ProductImage />
                <ProductTitle />
                <ProductButtons />
            </>
        )
    }
</ProductCard>

Miguel Angel Lupani

Package Sidebar

Install

npm i ml-product-card

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

155 kB

Total Files

43

Last publish

Collaborators

  • mlupani