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

1.0.1-rc • Public • Published

DC-Product-Card

This is a test package to deploy to NPM

Diego Cardenas

Example

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'dc-product-card'
  <ProductCard
    product={products[0]}
    initialValues={{ count: 6, maxCount: 10 }}
  >
    {({ isMaxCountReached, handleIncreaseBy, reset }) => (
      <>
        <ProductImage />
        <ProductTitle />
        <ProductButtons />
      </>
    )}
  </ProductCard>

Readme

Keywords

Package Sidebar

Install

npm i dc-product-card-pro

Weekly Downloads

5

Version

1.0.1-rc

License

MIT

Unpacked Size

77.3 kB

Total Files

51

Last publish

Collaborators

  • dacardenasa