0.0.1 • Published 2 years ago
rdch-product-card v0.0.1
RDCH-Product-Card
Este es un paquete para pruebas en NPM.org
Instalación
Ejemplo:
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'rdch-product-card'
<ProductCard
product={ product }
initialValues={{
count: 4,
// maxCount: 10
}}
>
{
({count, reset, isMaxCountReached, maxCount, increaseBy}) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>
0.0.1
2 years ago