1.0.0-rc • Published 2 years ago

emf-product-card v1.0.0-rc

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

emf-product-card

This is a deployment test package in NPM

Enrique Marín

Ejemplo:

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