1.0.0-rc • Published 2 years ago
npm-as-product-card v1.0.0-rc
NPM-AS-Product-Card
This is a deployment test package for NPM
Example
import {ProductCard, ProductImage, ProductTitle, ProductButtons} from 'npm-as-product-card';
<ProductCard
product={product}
initialValues={{
count: 0,
// maxCount: 10,
// minCount: 0,
}}
>
{
({ reset, isMaxCountReached, maxCount, increaseBy, count }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>