1.0.0-rc • Published 2 years ago
ole-product-card v1.0.0-rc
Ole-Product-Card
This is a test package of deployment on npm.
José Luis Olemar
Example
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'ole-product-card';
<ProductCard initialValues={{ count: 4, maxCount: 10 }} product={product}>
{({ product, count, isMaxCountReached, maxCount, increaseBy, reset }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>