1.0.0-rc • Published 7 months ago
sam-rj-product-card v1.0.0-rc
TSDX React User Guide
Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.
Example
import {ProductImage, ProductTitle, ProductButtons} from 'x'
<ProductCard
product={product}
initialValues={{
count: 6,
maxCount: 10,
}} >
{({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>