0.0.2 • Published 7 months ago

doncarmone-product-card v0.0.2

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

jcg-Product-Card

Este es un paquete de ejemplo de despliegue a NPM

Ejemplo

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