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

0.0.2 • Public • Published

Stan-Product-Card

My first component deploy at NPM.

StanTheMackiar

Example

import {
  ProductButtons,
  ProductCard,
  ProductImage,
  ProductTitle,
} from 'stan-product-card';
      <ProductCard
        product={product}
        initialValues={{
          count: 4,
          maxCount: 10,
        }}>
        {
          ({reset, count, increaseBy, isMaxCountReached,maxCount}) => (
            <>
              <ProductImage />
              <ProductTitle />
              <ProductButtons />
            </>
          )
        }
      </ProductCard>

Package Sidebar

Install

npm i stan-product-card

Weekly Downloads

5

Version

0.0.2

License

MIT

Unpacked Size

152 kB

Total Files

44

Last publish

Collaborators

  • stanthemackiar