1.0.0-rc • Published 1 year ago

sel-product-card-react-ts v1.0.0-rc

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

SEL-Product-Card

Este es un paquete de pruebas para desplegar en npm.

Santiago Echavarria Londoño

Ejemplo de uso

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