0.0.1 • Published 9 months ago

cc-product-card-react-ts v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

CC-Product-Card

ola ketal

Ejemplo de uso

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'cc-product-card'
<ProductCard
                product={product}
                initialValues={{
                    count: 4,
                    maxCount: 10,
                }}
            >
                {({
                    count,
                    isMaxCountReached,
                    maxCount,
                    product,
                    reset,
                    increaseBy,
                }) => (
                    <>
                        <ProductImage />
                        <ProductTitle />
                        <ProductButtons />
                    </>
                )}
            </ProductCard>