AM Product Card
Test package for npm deployments
Example:
import {
ProductCard,
ProductImg,
ProductTitle,
ProductButtons,
} from 'am-product-card';
<ProductCard
product={product}
initialValues={{
count: 7,
maxCount: 10,
}}
>
{({ isMaxCountReached, maxCount, reset, increaseBy }) => (
<>
<ProductImg />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>