oz-product-card
v1.0.0-rc
Published
This is a sample package to deploy to npm.
Downloads
10
Readme
Oz-product-card
This is a sample package to deploy to npm.
How to use?
import {
ProductCard,
ProductImage,
ProductTitle,
ProductButtons,
} from 'oz-product-card';
<ProductCard
product={product}
initialValues={{
count: 4,
maxCount: 15,
}}
>
{({ reset, increaseBy, isMaxCountReached, count }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>