1.0.0-rc • Published 2 years ago
we-product-card v1.0.0-rc
we-product-card
RYD
Example:
import { ProductCard, ProductButtons, ProductImage, ProductTitle } from '../.';
<ProductCard
product={product}
initialValues={{
count: 1,
maxCount: 13,
}}
>
{({
count,
maxCount,
reset,
increaseBy,
- isMaxCountReached,
product,
}) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>