# @pongo-ui/react-dialog

> A Dialog component that presents a surface that users can either complete tasks or obtain information from.

Latest version **0.0.4** (published 2022-03-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pongo-ui/react-dialog
pnpm add @pongo-ui/react-dialog
yarn add @pongo-ui/react-dialog
bun add @pongo-ui/react-dialog
```

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2022-03-25 |
| First published | 2022-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 97 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | pongobuild, czearing |

## Links

- npm: https://www.npmjs.com/package/@pongo-ui/react-dialog
- Repository: https://github.com/PongoAI/pongo-ui
- Homepage: https://github.com/PongoAI/pongo-ui#readme
- Issues: https://github.com/PongoAI/pongo-ui/issues
- npm.io page: https://npm.io/package/@pongo-ui/react-dialog

## Dependencies (5)

- [@griffel/react](https://npm.io/package/@griffel/react.md) ^1.0.0
- [@pongo-ui/react-theme](https://npm.io/package/@pongo-ui/react-theme.md) ^0.0.13
- [@fluentui/react-portal](https://npm.io/package/@fluentui/react-portal.md) ^9.0.0-rc.5
- [@fluentui/react-tabster](https://npm.io/package/@fluentui/react-tabster.md) ^9.0.0-rc.5
- [@fluentui/react-utilities](https://npm.io/package/@fluentui/react-utilities.md) ^9.0.0-rc.5

## Recent versions

- 0.0.4 (latest) — 2022-03-25
- 0.0.3 — 2022-03-21
- 0.0.2 — 2022-03-20
- 0.0.1 — 2022-03-19

## README

# Dialog

The Dialog component presents a surface that users can either complete tasks or obtain information from.

## Use

1. Install the @pongo-ui/react-dialog component.

Using NPM

```
npm install @pongo-ui/react-dialog
```

Using Yarn

```
yarn add @pongo-ui/react-dialog
```

2. Install the @pongo-ui/react-provider and our theme tokens from @pongo-ui/react-theme

3. Set up the provider in your app:

```jsx
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
```

4. Integrate the Dialog component.

```jsx
import { Provider } from '@pongo-ui/react-provider'
import { web1ghtTheme } from '@pongo-ui/react-theme'
import { Dialog } from '@pongo-ui/react-dialog'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Dialog>...</Dialog>
    <Provider>
  )
}
```

## API

To learn more about the Dialog API take a look at the [Dialog Interface](src/components/Dialog/Dialog.types.ts) file.

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