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

0.0.2 • Public • Published

Matias Walter

Parte del curso de React PRO de Fernando Herrera

Ejemplo

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

Package Sidebar

Install

npm i mw-product-card

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

151 kB

Total Files

31

Last publish

Collaborators

  • matiaswalter