1.0.0-rc • Published 2 years ago

fjad-product-card v1.0.0-rc

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

FJAD-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Francisco J. Aguilar

Ejemplo

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