# jp-product-card

> Este es un paquete de prueba de despligue en NPM

Latest version **0.0.3** (published 2022-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install jp-product-card
pnpm add jp-product-card
yarn add jp-product-card
bun add jp-product-card
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2022-02-01 |
| First published | 2022-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 5 |
| Unpacked size | 157.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Josue Perez |
| Maintainers | josueperezf |
| Keywords | product, card, josue, perez |

## Links

- npm: https://www.npmjs.com/package/jp-product-card
- Repository: https://github.com/josueperezf/jp-product-card
- Issues: https://github.com/josueperezf/jp-product-card/issues
- npm.io page: https://npm.io/package/jp-product-card

## Dependencies (5)

- [jest](https://npm.io/package/jest.md) ^27.4.7
- [babel-jest](https://npm.io/package/babel-jest.md) ^27.4.6
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.16.11
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.16.7
- [react-test-renderer](https://npm.io/package/react-test-renderer.md) ^17.0.2

## Recent versions

- 0.0.3 (latest) — 2022-02-01
- 0.0.1 — 2022-02-01

## README

# pj-product-card

Este es un paquete de prueba de despligue en NPM


### Josue Perez

## ejemplo

```
    import {ProductCard, ProductImage, ProductTitle, ProductButtons} from 'jp-product-card'
```

```
    <ProductCard key={product.id} product={product} initialValues={{count: 4, maxCount: 10}}>
        {
            ({reset, cambiarValor, isMaxCountReached, count, maxCount}) => (
            <>
            <ProductImage  />
            <ProductTitle />
            <ProductButtons />
            <button onClick={reset} > reset</button>
            <button onClick={()=>cambiarValor(-2) } >-2</button>
            { !isMaxCountReached && <button onClick={()=>cambiarValor(+2) } > +2</button>}
            <span>{count} {`${maxCount && - maxCount}`}</span>
            </>
            )
        }
    </ProductCard>

```

---
_Source: https://npm.io/package/jp-product-card · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
