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

1.0.0-rc • Public • Published

LB-PRODUCT-CARD

Este es un paquete de pruebas de despliegue en NPM

Luis Ballesteros

Ejemplo

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'lb-product-card';

const product = {
    id: '1',
    title: 'Coffee Mug',
    image: './coffee-mug.png'
} //Example product
 <ProductCard
    product={ product }
    initialValues={{
        count: 4,
        maxCount: 10
    }}
>
    {
        ( { reset, count, increaseBy, isMaxCountReached } ) => (
            <>
                <ProductImage />
                <ProductTitle />
                <ProductButtons />
            </>
        )
    }
    
</ProductCard>

Package Sidebar

Install

npm i lb-product-card

Weekly Downloads

4

Version

1.0.0-rc

License

MIT

Unpacked Size

152 kB

Total Files

41

Last publish

Collaborators

  • togedemaru