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

1.0.0-rc • Public • Published

MDTM-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Marco De la Torre

Ejemplo

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

Package Sidebar

Install

npm i mdtm-product-card

Weekly Downloads

1

Version

1.0.0-rc

License

MIT

Unpacked Size

153 kB

Total Files

40

Last publish

Collaborators

  • marco-torre