jim-product-card
v1.0.0-rc
Published
This is a test package for the deployment on NPM.
Downloads
2
Maintainers
Readme
JIM-Product-Card
This is a test package for the deployment on NPM.
Example
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'jim-product-card';
<ProductCard
key = {product.id}
product = {product}
initialValues = {{
count: 4,
maxCount: 10
}}
>
{
( { reset, isMaxCountReached, increaseBy, count, maxCount } ) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>