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

1.0.0-rc • Public • Published

JMP-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Jesús Merino

Ejemplo

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

      )
  }
</ProductCard>

Package Sidebar

Install

npm i jmp-product-card

Weekly Downloads

5

Version

1.0.0-rc

License

MIT

Unpacked Size

166 kB

Total Files

30

Last publish

Collaborators

  • jesmerino