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

1.0.0-rc • Public • Published

Paul Vega

Ejemplo

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'do-product-card';
<ProductCard
                key={product.id}
                product={product}
                className="bg-dark text-white"
                initialValues={{
                    count: 4,
                    // maxCount: 10
                }}
            >
                {
                    ({ reset, increaseBy, count, isMaxCountReached, maxCount }) => (
                        <>
                        <ProductImage/>
                        <ProductTitle />
                        <ProductButtons/>
                        </>
                    )
                }
            </ProductCard>

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i pv-product-card

    Homepage

    google.com/

    Weekly Downloads

    4

    Version

    1.0.0-rc

    License

    MIT

    Unpacked Size

    154 kB

    Total Files

    29

    Last publish

    Collaborators

    • blackandnoob