0.0.1 • Published 12 months ago

espi-product-card v0.0.1

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

Espi-product-card

Ejemplo

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

12 months ago