0.1.0 • Published 3 years ago

jvm-product-card v0.1.0

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

Ejemplo

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

3 years ago