0.0.1 • Published 4 months ago

cp-product-card v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

CP-Product-Card

Este es un paquete de pruebas de despliegue en npm.

Daniel Plascencia

Ejemplo

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