1.0.0-rc • Published 2 years ago
mml-create-card v1.0.0-rc
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>