import {
ProductButtons,
ProductCard,
ProductImage,
ProductTitle,
} from './components';
<ProductCard
key={product.id}
product={product}
initialValues={{ count: 4, maxCount: 10 }}
>
{({ reset }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
<button onClick={reset}>reset</button>
</>
)}
</ProductCard>;
hector-product-card
0.0.2 • Public • PublishedPackage Sidebar
Install
npm i hector-product-card
Repository
Homepage
Weekly Downloads
0
Version
0.0.2
License
MIT
Unpacked Size
144 kB
Total Files
29