0.0.1 • Published 2 years ago

me-product-card v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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>