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

0.0.1 • Public • Published

product card component of react pro course

Luis Melendez

Ejemplo

import {
    ProductCard,
    ProductImage,
    ProductTitle,
    ProductButtons,
} from "";
            <ProductCard
                key={product.id}
                product={product}
                initialValues={{
                    count: 6,
                    // maxCount: 10,
                }}
            >
                {({
                    reset,
                    count,
                    isMaxCountReached,
                    maxCount,
                    increaseBy,
                }) => (
                    <>
                        <ProductImage />
                        <ProductTitle />
                        <ProductButtons />
                    </>
                )}
            </ProductCard>

Package Sidebar

Install

npm i product-card-course-rp

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

150 kB

Total Files

40

Last publish

Collaborators

  • luism12341