mml-create-card
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc • Public • Published

DO-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Miguel Mejia

Ejemplo

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

Package Sidebar

Install

npm i mml-create-card

Weekly Downloads

3

Version

1.0.0-rc

License

MIT

Unpacked Size

148 kB

Total Files

40

Last publish

Collaborators

  • mmejia