1.0.0-rc • Published 2 years ago

adlb-product-card v1.0.0-rc

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

ALBD-Product-Card

Paquete de Prueba

Antony Albites

Ejemplo

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