sm-product-card
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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>

Package Sidebar

Install

npm i sm-product-card

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

156 kB

Total Files

30

Last publish

Collaborators

  • sebaseven