jl-product-card-react-ts
v0.0.2
Published
Este es un paquete de pruebas de despliegue en NPM
Downloads
9
Maintainers
Readme
JL-Product-Card
Este es un paquete de pruebas de despliegue en NPM
Jerónimo Ledesma
Ejemplo
import {ProductCard,ProductImage,ProductTitle,ProductButtons} from 'jl-product-card';
<ProductCard
product={product}
initialValue={{
count:4,
maxCount:10
}}
>
{
({reset,increaseBy,isMaxCountReached,count}) => (
<>
<ProductCard.Image />
<ProductCard.Title title={'Holamundo'} />
<ProductCard.Buttons />
</>
)
}
</ProductCard>