1.0.2-rc • Published 2 years ago
mdev-product-card v1.0.2-rc
Product Card
Este es un paquete de pruebas de despliegue en npm
Michael García
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'mdev-product-card';
<ProductCard
product={ product }
initialValue={{
count: 4,
// maxCount: 10
}}>
{
({ reset, increaseBy, count, maxCount, isMaxCountReached }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>