0.0.2 • Published 7 months ago
d-product-card-1 v0.0.2
Ejemplo
import { ProductCard, ProductImage, ProductTitle, ProductButtons} from 'jd-product-card;
<ProductCard
product={product}
initialValues={{
count: 2,
maxCount: 10
}}
>
{
({ count, isMaxCountReached, increaseBy, reset }) => (
<>
<ProductCard.Image />
<ProductCard.Title />
<ProductCard.Buttons />
</>
)
}
</ProductCard>