1.0.0-rc • Published 2 years ago

prodcut-card-learn v1.0.0-rc

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

product-card-learn

This is a npm deploy test package

Juan Casals

Example

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