0.0.2 • Published 2 years ago

eacz-product-card v0.0.2

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

eacz-product-card

test package for deploy to npm

Esteban Andres Canteros

Example

import {ProductCard, ProductImage, ProductTitle, ProductButtons} from 'eacz-product-card'
 <ProductCard
    product={product}
    initialValues={{
      count: 4,
      maxCount: 21
    }}
  >
    {
      ({reset, count, increasedBy, isMaxCountReached}) => (
        <>
          <ProductImage />
          <ProductTitle />
          <ProductButtons />
        </>
      )
    }
  </ProductCard>