0.0.2 • Published 1 year ago

kf-product-cards v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

kf-product-card

this is a test package to deploy onto NPM

npm i kf-product-cards
import { ProductCard, ProductButtons, ProductImage, ProductTitle } from 'kf-product-cards';
    <ProductCard
        product={product}
        initialValues={{
          count: 4,
          maxCount: 10,
        }}
      >
        {({ reset, increasedBy, count, isMaxReached, maxCount }) => (
          <>
            <ProductImage />
            <ProductTitle />
            <ProductButtons />

          </>
        )}
      </ProductCard>