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

1.0.0-rc • Public • Published

Ejemplo

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

 <ProductCard 
    key={product.id}  
    product={product}
    initialValues={{
        count: 2,
        maxCount: 10 
    }}
 >
    {
        ({ reset, increaseBy, count, isMaxCountReached, maxCount }) => (
            <>
                <ProductImage />
                <ProductTitle />
                <ProductButtons />
            </>
        )
    }
 </ProductCard>

Package Sidebar

Install

npm i jz-product-card

Weekly Downloads

3

Version

1.0.0-rc

License

MIT

Unpacked Size

151 kB

Total Files

45

Last publish

Collaborators

  • jacksonzambrano99