0.0.1 • Published 1 year ago

nbrm-product-card v0.0.1

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

NBRM-Product-Card

  • Este es un paquete de despliegues en NPM

Nataly Rojas

Ejemplo

import { ProductTitle, ProductImg, ProductBtns } from 'nbrm-product-card';
<ProductCard
  key={product.id}
  product={product}
  initialValues={{
    count: 4,
    // maxCount: 10,
  }}
>
  {({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
    <>
      <ProductImg />
      <ProductTitle />
      <ProductBtns />
    </>
  )}
</ProductCard>