1.0.0-rc • Published 11 months ago
roloro-product-card v1.0.0-rc
ROLORO-Product-Card
Just a test project
Rodrigo
Example
<ProductCard
key={product.id}
product={product}
initialValues={{
count: 6,
// maxCount: 10,
}}
>
{({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>