repr-product-cart
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc • Public • Published

repr-product-cart

This is a package proving how to deploy in NPM a project

Esteban Puentes Roldan

Example

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from "repr-product-cart"
<ProductCard 
          product={product}
          initialValues={{
            count:4,
            maxCount:10
          }}
        >
          {
            ( {reset, isMaxCountReached, increaseBy,count} )=>{
              return (

              <>
                <ProductImage />
                <ProductTitle  />
                <ProductButtons />

              </> 
              )
            }
            
          }
</ProductCard>

Dependents (0)

Package Sidebar

Install

npm i repr-product-cart

Weekly Downloads

2

Version

1.0.0-rc

License

MIT

Unpacked Size

151 kB

Total Files

42

Last publish

Collaborators

  • esteban2841