0.0.2 • Published 2 years ago

jo-doo-product-card v0.0.2

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

jo-doo-product-card

Este es un paquete de pruebas de despliegue en npm

Jonathan Ruiz R.

Ejemplo

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