1.0.0-rc • Published 2 years ago

jdpv-product-card v1.0.0-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

JDPV-Product-Card

Este es un paquete de pruebas de despliegue en NPM

John Davis Pablo V.

Ejemplo

import {
  ProductButtons,
  ProductCard,
  ProductImage,
  ProductTitle,
} from "jdpv-product-card";
<ProductCard
  product={product}
  initialValues={{
    count: 4,
    maxCount: 10,
  }}
>
  {({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
    <>
      <ProductImage />
      <ProductTitle />
      <ProductButtons />
    </>
  )}
</ProductCard>