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

1.0.0-rc • Public • Published

MTC-Product-Card

Este es un paquete de pruebas de despliegle en NPM

Martí Touriño

Ejemplo

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

Package Sidebar

Install

npm i mtc-product-card

Weekly Downloads

4

Version

1.0.0-rc

License

MIT

Unpacked Size

159 kB

Total Files

41

Last publish

Collaborators

  • marti-t