1.0.0-rc • Published 8 months ago

lajt-product-card v1.0.0-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

lajt-product-card

This is a test to deploy packages to npm

Lorenzo Torres

Example

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

        </>
        
        )
    }
</ProductCard>
1.0.0-rc

8 months ago

0.0.1

8 months ago