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

0.1.0-rc • Public • Published

TB Product Card

This is a test package of a product card in a e-shop

Tobo25th

Example

import {ProductCard,ProductButtons,ProductTitle,ProductImage} from "tb-product-card";

<ProductCard product={product} initialValues={{ count:4, maxCount:10 }} >

      {
        ({reset,count,isMaxCountReached,increaseBy,maxCount})=>(
          <>  
            <ProductImage img=""/>
            <ProductTitle />
            <ProductButtons/>
          </>

        )
      }
    </ProductCard>

Readme

Keywords

Package Sidebar

Install

npm i tb-product-card

Weekly Downloads

5

Version

0.1.0-rc

License

MIT

Unpacked Size

153 kB

Total Files

32

Last publish

Collaborators

  • tobo25th