# @ptadmin/generic-modal-dialog

> Generic modal dialog component

Latest version **1.0.3** (published 2020-01-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ptadmin/generic-modal-dialog
pnpm add @ptadmin/generic-modal-dialog
yarn add @ptadmin/generic-modal-dialog
bun add @ptadmin/generic-modal-dialog
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2020-01-10 |
| First published | 2019-09-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 13 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | aiman.mallah, gabriellaal, henry.miller, marco.diener, michael.whelan, nunobettencourt, polah, raj.thota |

## Links

- npm: https://www.npmjs.com/package/@ptadmin/generic-modal-dialog
- npm.io page: https://npm.io/package/@ptadmin/generic-modal-dialog

## Recent versions

- 1.0.3 (latest) — 2020-01-10
- 1.0.1 — 2019-09-09
- 1.0.0 — 2019-09-04

## README

# GenericModalDialog

GenericModalDialog is a component that renders a basic MaterialUI modal dialog.

## Usage

```javascript
import GenericModalDialog from '@ptadmin/generic-modal-dialog';

<GenericModalDialog />
```

## Props

**isOpen** (*boolean*): Flag that determines whether the dialog is displayed or not  
**dismissible** (*boolean*): Flag that determines whether the dialog can be closed by clicking outside of it  
**title** (*string*): Title rendered by the dialog  
**text** (*string*): Main text content of the dialog  
**actions** (*array*): List of actions available in the dialog. Each item will render a button

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