0.0.2 • Published 3 years ago

brn-product-card v0.0.2

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

Test package to deploy to NPM

Example

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