1.0.0-rc • Published 2 years ago
ah-product-card v1.0.0-rc
AH-Product-Card
Paquete de prueba NPM
Alejandro Aguilar
Ejemplo
import {ProductButtons, ProductCard, ProductImage,ProductTitle} from "../components/";
<ProductCard
product={product}
className="bg-dark text-white"
initialValues={{
count: 4,
maxCount: 10,
}}
>
{({ count,maxCount, reset, isMaxCountReached, increaseBy }) => (
<>
<ProductImage
/>
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>