ato-product-card
v1.0.0-rc
Published
This is a test package for deployment on NPM
Downloads
5
Readme
ATO-Product-Card
This is a test package for deployment on NPM
Akito Watanabe
Examples
import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'ato-product-card'
<ProductCard
product={product}
initialValues={{
count: 4,
// maxCount: 10,
}}
>
{({ isMaxCountReached, count, maxCount, increaseBy, reset }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)}
</ProductCard>