0.0.2 • Published 7 months ago

d-product-card-1 v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Ejemplo

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