eac-product-card
v1.0.0-rc
Published
Este es un paquete de pruebas de despliegue en NPM
Downloads
7
Maintainers
Readme
EAC-Product-Card
Este es un paquete de pruebas de despliegue en NPM
Eduardo Antonio Campili
Ejemplo
import {
ProductCard,
ProductImage,
ProductTitle,
ProductButtons
} from 'eac-product-card'
<ProductCard
product={product}
initialValues={{
count: 4,
//maxCount: 10
}}
>
{
({ reset, isMaxCountReached, increaseBy, count, maxCount }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>