# react-payments-modal-release

> 우아한테크코스 레벨 2 페이먼츠 미션

Latest version **1.1.1** (published 2023-05-08) · 0 weekly downloads

## Install

```sh
npm install react-payments-modal-release
pnpm add react-payments-modal-release
yarn add react-payments-modal-release
bun add react-payments-modal-release
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2023-05-08 |
| First published | 2023-05-05 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | goni-kim |

## Links

- npm: https://www.npmjs.com/package/react-payments-modal-release
- npm.io page: https://npm.io/package/react-payments-modal-release

## Dependencies (13)

- [react](https://npm.io/package/react.md) ^18.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [typescript](https://npm.io/package/typescript.md) ^4.9.5
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [@types/jest](https://npm.io/package/@types/jest.md) ^27.5.2
- [@types/node](https://npm.io/package/@types/node.md) ^16.18.25
- [@types/react](https://npm.io/package/@types/react.md) ^18.2.4
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) ^18.2.3
- [styled-components](https://npm.io/package/styled-components.md) ^5.3.10
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.4.0
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.16.5
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.0

## Recent versions

- 1.1.1 (latest) — 2023-05-08
- 1.1.0 — 2023-05-08
- 1.0.0 — 2023-05-05
- 0.0.2 — 2023-05-05
- 0.0.1 — 2023-05-05

## README

# react-payments-modal-release

우아한테크코스 레벨 2 페이먼츠 미션

- 모달 배포하기

## 설치 방법

```
npm i react-payments-modal-release
```

## 사용 방법

**Modal 컴포넌트 불러오기**

```jsx
import Modal from "react-payments-modal-release";
```

**Modal 사용하기**

```jsx
<Modal onOpen={onOpen} onClose={onClose}>
  <div>우리카드</div>
</Modal>
```

## Props

- onClose: 모달을 열고 닫기 위한 요소로 함수의 형태입니다.
- children: 모달 내부에 들어갈 콘텐츠입니다.

```jsx
import { Modal } from "react-payments-modal-release";

const CardCompanyModal = ({ onOpen, onClose }) => {
  return (
    <Modal onOpen={onOpen} onClose={onClose}>
      <div>우리카드</div>
    </Modal>
  );
};

export default CardCompanyModal;
```

---
_Source: https://npm.io/package/react-payments-modal-release · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
