1.0.0-rc • Published 2 years ago

kp-product-card v1.0.0-rc

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

kp-product-card

Este es un paquete de pruebas de despliegue en NPM

Fernando Herrera

Ejemplo

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