1.0.0-rc • Published 1 year ago

jb-product-card v1.0.0-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

JB-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Jaaciel Briseño

Ejemplo

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