1.0.4-rc • Published 1 year ago

hnz-product-card v1.0.4-rc

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

HNZ-Product-Card

This is a test package to do release on NPM

Henz A.

Example

import { ProductCard } from 'hnz-product-card';
<ProductCard
  product={product}
  initialValues={{
    count: 4,
    maxCount: 6,
  }}
>
  {({ reset, increaseBy, isMaxCountReached, count }) => (
    <>
      <ProductCard.Image />
      <ProductCard.Title />
      <ProductCard.Buttons />
    </>
  )}
</ProductCard>