1.0.1 • Published 1 year ago

er-product-card v1.0.1

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

ER Product Card

This is a product card component. It is built using React and Typescript.

Example

import { ProductCard } from '@er-product-card';
<ProductCard
  product={product}
  initialValues={{
    quantity: 4,
    maxQuantity: 10,
  }}
>
  {({ counter, isMaxQuantityReached, maxQuantity, increaseBy, reset }) => (
    <>
      <ProductCard.Image />
      <ProductCard.Title />
      <ProductCard.Buttons />
    </>
  )}
</ProductCard>
1.0.1

1 year ago

1.0.0-rc

1 year ago

0.0.1

1 year ago