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.
import {ProductImage, ProductTitle, ProductButtons} from 'x'
<ProductCard
product={product}
initialValues={{
count: 6,
maxCount: 10,
}} >
{({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>