1.0.0-rc • Published 3 years ago

bb-product-card v1.0.0-rc

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

DO-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Brian Buya

Ejemplo

import { 
    ProductButtons, 
    ProductCard, 
    ProductImage, 
    ProductTitle 
} from "do-prpduct-card"
    <ProductCard 
        product={ product }
        initialValues={{
            count: 4,
            maxCount: 10,
        }}
    >

    {            
        ( { reset, count, isMaxCountReached,    maxCount, increaseBy } ) => (
        <>
            <ProductCard.Image />
            <ProductCard.Title />
            <ProductCard.Buttons />
        </>
        )
    }
    </ProductCard>