1.0.0-rc • Published 3 years ago

jt-product-card v1.0.0-rc

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

Do-Producr-card

paquete de pruebas para carga a npm

Jorge T

Ejemplo

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

              </>
            )
          }

        </ProductCard>