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

1.0.0-rc • Public • Published

Product Card

Ejemplo de uso

import {
  ProductCard
  ProductImage,
  ProductTitle,
  ProductButtons
} from 'product-card-react-patterns'
  <ProductCard
    product={product}
    initialValues={{
      count: 7,
      maxCount: 10,
    }}
  >
  {({ reset, count, increaseBy, isMaxCountReached, maxCount }) => (
    <>
      <ProductCard.Image />
      <ProductCard.Title />
      <ProductCard.Buttons />
    </>
  )}
  </ProductCard>

Readme

Keywords

Package Sidebar

Install

npm i product-card-react-patterns

Weekly Downloads

1

Version

1.0.0-rc

License

MIT

Unpacked Size

143 kB

Total Files

47

Last publish

Collaborators

  • uwudorito