jon-productcard-component
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Jon-ProductCard-Component

This is a product card component.

Jonathan Bracho

Example

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

Package Sidebar

Install

npm i jon-productcard-component

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

150 kB

Total Files

29

Last publish

Collaborators

  • jonathandev88