npm.io
1.0.0-rc • Published 1 year ago

product-card-dv

Licence
MIT
Version
1.0.0-rc
Deps
0
Size
152 kB
Vulns
0
Weekly
0

Product-card-dv

This is a release package in NPM

Daniel

Example

            <ProductCard
                product={product}
                initialValues={{
                    count: 4,
                    maxCount: 10
                }}
            >
                {
                    ({ count, isMaxCountReached, increaseBy, reset }) => (
                        <>
                            <ProductImage />
                            <ProductTitle />
                            <ProductButtons />
                        </>
                    )
                }
            </ProductCard>