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

1.0.1 • Public • Published

OM-Product-Card

Esto es una prueba de paquete en NPM

Oscar Martinez

Ejemplo

import { ProductButtons, ProductCard, ProductImage, ProductTitle } from "om-product-card";
<ProductCard
  product={product}
  initialValues={{
    count: 5,
    maxCount: 10,
  }}
>
  {
    ({reset, count, increaseBy, isMaxCounterReached, maxCount}) => (
      <>
        <ProductImage />
        <ProductTitle />
        <ProductButtons />
      </>
    )
  }
</ProductCard>

Package Sidebar

Install

npm i om-product-card

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

150 kB

Total Files

29

Last publish

Collaborators

  • oscar12002