1.0.0-rc • Published 3 years ago
gj-product-card02 v1.0.0-rc
GJ-Product-Card
Este es un paquete de pruebas de despliegue a NPM
Gonzalo Jerez
Ejemplo
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'do-product-card';
<ProductCard
product={ product }
initialValues={ {
count: 4,
maxCount: 10
} }
>
{
( { reset, count, increaseBy, isMaxCountReached, maxCount } ) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>