1.0.0-rc • Published 2 years ago

jim-product-card v1.0.0-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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>

José Imaz