1.0.0-rc • Published 2 years ago

tq-do-product-card v1.0.0-rc

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

React NPM module

This is a test module to deployment

Example

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