1.0.0-rc • Published 3 years ago
codeslator-product-card v1.0.0-rc
Codeslator Product Card
This is a NPM test deploy project.
Andres Melendez - Codeslator
Usage
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from '';
<ProductCard
product={product}
initialValues={{
count: 4,
maxCount: 10,
}}
>
{({ reset, count, isMaxCountReach, increaseBy, maxCount }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons/>
</>
)}
</ProductCard>