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

0.0.1 • Public • Published

EJEMPLO

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

Package Sidebar

Install

npm i product-card-hook

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

151 kB

Total Files

29

Last publish

Collaborators

  • altope98