npm.io
0.0.2 • Published 3 years ago

sjp-product-card

Licence
MIT
Version
0.0.2
Deps
0
Size
2.3 MB
Vulns
0
Weekly
0

Paquete de prubea de despliegue en NPM

Sebastian Pitra

Ejemplo

import { ProductCard } from '../components/ProductCard';
import { ProductButtons, ProductImage, ProductTitle } from '../components';


<ProductCard 
key={product.id} 
product={ product }
initialValues={{
  count: 4,
}} >

  {
    ({ reset, increaseBy, isMaxCountReached, count }) => (
      <>
        <ProductImage />
        <ProductTitle />
        <ProductButtons  /> 
      </>
    )
  }
</ProductCard>