0.0.2 • Published 2 years ago

gd-product-card v0.0.2

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

GD-product-card

Este es un paquete de pruebas de despliegue en NPM

Gabriel Diaz

Ejemplo

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