0.0.1 • Published 5 months ago

sm-product-card v0.0.1

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

Product Card Component

This project was bootstrapped with Create React App.

Este paquete contiene Componente De Prueba para el proyecto de Shopping

By Seba Morgado

Ejemplo

```
import { ProductCard,ProductImage,ProductButtons ,ProductTitle } from 'sm-product-card';

```
 <ProductCard 
              product={ product }
              initialValues = {{
                  count: 4,
                  // maxCount: 10,
              }}
          >
              {
                  ({reset,isMaxCountReached,increaseByOne,maxCount,count}) => (
                      <>
                          <ProductImage  />
                          <ProductTitle />
                          <ProductButtons />
                      </>
                  )
              }

          </ProductCard>
0.0.1

5 months ago