kf-product-cards
v0.0.2
Published
this is a test package to deploy onto NPM ``` npm i kf-product-cards
Downloads
3
Readme
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>