1.0.0-rc • Published 2 years ago
future-card-product v1.0.0-rc
TSDX NPM Example Not Dowland
import { ProductCard ProductImage ProductTitle ProductButtons } from 'future-card-product'
<ProductCard
product={ product }
initialValues={{
count: 6,
maxCount: 10,
}}
>
{
({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImage/>
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>