<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>
Proyecto npm de pruebas de react
License
javinobile/jvn-product-card
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Proyecto npm de pruebas de react
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published