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

0.0.1 • Public • Published

me-product-card

Example

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

Package Sidebar

Install

npm i me-product-card

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

152 kB

Total Files

48

Last publish

Collaborators

  • miguel-enrique