jvn-product-card
v1.0.0-rc
Published
Downloads
3
Maintainers
Readme
<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>