tomcat-product-card
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Product-Card

This is a test package for deploy in NPM.

Tomas Catena

Example

import {ProductCard, ProductImage, ProductTitle, ProductButtons} from 'tomcat-product-card'
<ProductCard
    key={product.id}
    product={product}
    initialValues={{
        count: 6,
        maxCount: 10,
    }}
>
    {({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
        <>
            <ProductImage />
            <ProductTitle />
            <ProductButtons />
        </>
    )}
</ProductCard>

Readme

Keywords

Package Sidebar

Install

npm i tomcat-product-card

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

150 kB

Total Files

29

Last publish

Collaborators

  • tcatena