<ProductCard className='bg-dark text-white'
initialValues={{ count: 4, maxCount: 10 }}
product={product}>
{
({ count, reset, increaseBy, isMaxCountReached }) => (
<>
<ProductCard.Image />
<ProductCard.Title title={product.title} />
<ProductCard.Buttons />
</>
)
}
</ProductCard>
jvn-product-card
1.0.0-rc • Public • PublishedDependents (0)
Package Sidebar
Install
npm i jvn-product-card
Repository
Homepage
Weekly Downloads
3
Version
1.0.0-rc
License
MIT
Unpacked Size
154 kB
Total Files
40