1.0.0-rc • Published 1 year ago

mab-product-card v1.0.0-rc

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

mab-product-card

Ejemplo

import {
  ProductCard,
  ProductImage,
  ProductTitle,
  ProductButtons,
} from 'mab-product-card';

<ProductCard
  product={product}
  initialValues={{
    count: 4,
    maxCount: 10,
  }}
>
  {({ count, maxCount, increaseBy, isMaxCountReached, reset }) => (
    <>
      <ProductImage />
      <ProductTitle />
      <ProductButtons />
    </>
  )}
</ProductCard>
1.0.0-rc

1 year ago

0.0.1

1 year ago