# fpw-my-modal

> A modal component for your React app

Latest version **0.1.7** (published 2022-11-28) · 0 weekly downloads

## Install

```sh
npm install fpw-my-modal
pnpm add fpw-my-modal
yarn add fpw-my-modal
bun add fpw-my-modal
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.7 |
| Published | 2022-11-28 |
| First published | 2022-11-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | fpw |
| Maintainers | fpw2 |
| Keywords | react, modal |

## Links

- npm: https://www.npmjs.com/package/fpw-my-modal
- Repository: https://github.com/fpw2/fpw-my-modal
- Homepage: https://github.com/fpw2/fpw-my-modal#readme
- Issues: https://github.com/fpw2/fpw-my-modal/issues
- npm.io page: https://npm.io/package/fpw-my-modal

## Dependencies (5)

- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [styled-components](https://npm.io/package/styled-components.md) ^5.3.6
- [@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

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.7 (latest) — 2022-11-28
- 0.1.6 — 2022-11-25
- 0.1.4 — 2022-11-23
- 0.1.3 — 2022-11-23
- 0.1.2 — 2022-11-23
- 0.1.1 — 2022-11-23
- 0.1.0 — 2022-11-23

## README

# fpw-my-modal

## Description

A modal pluggin for react using create-react-app.

# Installation

Run the following command in your terminal:

`npm install fpw-my-modal`

# How to use ?

```
import { useState } from "react"
import { Modal } from "fpw-my-modal"

const [openModal, setOpenModal] = useState(false)

<Modal
    openModal={openModal}
    setOpenModal={setOpenModal}
    message="your-modal-message"
    className="your-class"
/>
```
If you want to customize the modal with the property `className` you have to override the default style with `!important`

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