1.0.0-rc • Published 3 years ago

codeslator-product-card v1.0.0-rc

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

Codeslator Product Card

This is a NPM test deploy project.

Andres Melendez - Codeslator

Usage

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from '';
<ProductCard
  product={product}
  initialValues={{
    count: 4,
    maxCount: 10,
  }}
>
  {({ reset, count, isMaxCountReach, increaseBy, maxCount }) => (
    <>
      <ProductImage />
      <ProductTitle />
      <ProductButtons/>
    </>
  )}
</ProductCard>