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

0.1.0 • Public • Published

Ejemplo

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

Readme

Keywords

Package Sidebar

Install

npm i jvm-product-card

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

147 kB

Total Files

30

Last publish

Collaborators

  • ivallemol