1.0.0-rc • Published 1 year ago

ato-product-card v1.0.0-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ATO-Product-Card

This is a test package for deployment on NPM

Akito Watanabe

Examples

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