jota-product-card
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Juan Jose Collantes

Ejemplo

import { ProductCard, ProductImage, ProductsButtons, ProductTitle, } from '../.';
<ProductCard
        key={product.id}
        product={product}
        
        //Asigamos un objeto con el count y maxCount al initialValues
        initialValues={{
          count: 4,
          //maxCount:10
        }}
        >

          {
            ({reset,isMaxCountReached,count,maxCount})=> (<>
            <ProductImage />
          <ProductTitle />
          <ProductsButtons /> 
          </>)
          }
          
</ProductCard>

Package Sidebar

Install

npm i jota-product-card

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

177 kB

Total Files

40

Last publish

Collaborators

  • jotacollantes