rdch-product-card
v0.0.1
Published
Este es un paquete para pruebas en NPM.org
Downloads
3
Readme
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>