1.0.0 • Published 2 years ago

elv-product-card v1.0.0

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

0-elv-product-card

This is just a package for test

Elvis Garcia

Examples

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'elv-product-card';

<ProductCard 
    product={ product }
    initialValues={{
        count: 6,
        maxCount: 10
    }}
>
    {
        ({ reset, count, isMaxCountReached, maxCount, increaseBy  }) => (
            <>
                <ProductImage />
                <ProductTitle />
                <ProductButtons  />
            </>
        )
    }
</ProductCard>