1.0.0-rc • Published 2 years ago

future-card-product v1.0.0-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

TSDX NPM Example Not Dowland

import { ProductCard ProductImage ProductTitle ProductButtons } from 'future-card-product'

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