1.0.0-rc • Published 1 year ago

pc-product-card-react-ts v1.0.0-rc

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

PC-Prudct-Card

Este es un paquete de pruebas de despliegue en NPM

Paul Ccuno

Ejemplo

import {
  ProductButtons,
  ProductCard,
  ProductImage,
  ProductTitle,
} from '../components';
<ProductCard
  key={product.id}
  product={product}
  initialValues={{
    count: 4,
    // maxCount: 10,
  }}
>
  {({ count, isMaxCountReached, maxCount, reset, increaseBy }) => (
    <>
      <ProductImage />
      <ProductTitle />
      <ProductButtons />
    </>
  )}
</ProductCard>