# nw-dialog1

> 对话框组件

Latest version **2.2.4** (published 2021-04-30) · 0 weekly downloads

## Install

```sh
npm install nw-dialog1
pnpm add nw-dialog1
yarn add nw-dialog1
bun add nw-dialog1
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.2.4 |
| Published | 2021-04-30 |
| First published | 2018-06-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 43 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | azgaga, liushichuan, yaochen, shenyuan, aflyermin, ignous, jeekdong, yun77op |

## Links

- npm: https://www.npmjs.com/package/nw-dialog1
- npm.io page: https://npm.io/package/nw-dialog1

## Dependencies (2)

- [jsdoc-babel](https://npm.io/package/jsdoc-babel.md) ^0.3.0
- [jsdoc-to-markdown](https://npm.io/package/jsdoc-to-markdown.md) ^3.0.2

## Recent versions

- 2.2.4 (latest) — 2021-04-30
- 2.2.8 — 2021-01-12
- 2.2.3 — 2020-11-11
- 1.19.2 — 2018-07-19
- 1.17.8 — 2018-06-12

## README

# nw-dialog

> 对话框组件

最基础的对话框组件，只负责布局，样式可以定制

## 安装

```sh
$ yarn add nw-dialog
```

## example

```javascript

class App extends Component {
    render() {
        return (
            <Dialog {...props}>
                <div className="goldenDialog">
                    {children}
                    <div className="dialog-footer"><button onClick={props.requestClose} type="button" className="dialog-button">我知道了</button></div>
                </div>
            </Dialog>
        )
    }
}
```

## API

<a name="Dialog"></a>

## Dialog
Dialog

**Kind**: global class

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