1.0.0-rc • Published 2 years ago

npm-as-product-card v1.0.0-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

NPM-AS-Product-Card

This is a deployment test package for NPM

Ahunki Studio

Example

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