1.0.0-rc • Published 2 years ago
product-card-jm v1.0.0-rc
PRODUCT CARD COMPONENT
Este es un paquete de pruebas de despliegue en NPM. v2
Ejemplo
import {ProductCard, ProductImage, ProductTitle, ProductButtons} from productcard
<ProductCard
key={product1.id}
product={product1}
initialValues={{
count: 4,
maxCount: 10
}}
>
{
({ reset}) => (
<>
<ProductImage/>
<ProductTitle title={product1.title} />
<ProductButtons />
</>
)
}
</ProductCard>