0.1.0 • Published 4 years ago

@morpheusoliver/jc-product-card2 v0.1.0

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

Ejemplo

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'do-product-card';
<ProductCard 
    key={ product.id }
    product={ product }
    initialValues ={{
        count: 4,
        maxCount: 5
    }}
>
    {
        ( {reset,count,isMaxCountReached,increaseBy} )=>(
            <>
                <ProductImage />
                <ProductTitle />
                <ProductButtons />
            </>
        )
    }
</ProductCard>