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

1.0.0-rc • Public • Published

PC-Prudct-Card

Este es un paquete de pruebas de despliegue en NPM

Paul Ccuno

Ejemplo

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

Package Sidebar

Install

npm i pc-product-card-react-ts

Weekly Downloads

0

Version

1.0.0-rc

License

MIT

Unpacked Size

150 kB

Total Files

29

Last publish

Collaborators

  • paul-ccuno