code-product-card
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc • Public • Published

CODE-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Mauricio Moreno

Ejemplo

import { ProductCard, ProductImage, ProductTitle, ProductButtons} from 'code-product-card';
<ProductCard product={ product } initialValues={{
    count: 4,
    maxCount: 10
}}>
    {
        ({ reset, increaseBy, count, isMaxCountReached, maxCount }) => (
            <>
                <ProductImage style={{ boxShadow: '10px 10px 10px rgba(0,0,0,0.2)'}}/>
                <ProductTitle />
                <ProductButtons />
            </>
        )
    }
</ProductCard>

Package Sidebar

Install

npm i code-product-card

Weekly Downloads

4

Version

1.0.0-rc

License

MIT

Unpacked Size

152 kB

Total Files

40

Last publish

Collaborators

  • emmoreno