# react-native-alerts-help

> Complete set of personalized alerts for react native.

Latest version **1.0.0** (published 2019-05-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-alerts-help
pnpm add react-native-alerts-help
yarn add react-native-alerts-help
bun add react-native-alerts-help
```

## 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.0 |
| Published | 2019-05-24 |
| First published | 2019-05-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 280.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Iago Dias |
| Maintainers | iiagodias |
| Keywords | alerts react native, alerts, alerts personalized, modal, react-native |

## Links

- npm: https://www.npmjs.com/package/react-native-alerts-help
- Repository: https://github.com/iiagodias/react-native-alerts-help
- Homepage: https://github.com/iiagodias/react-native-alerts-help#readme
- Issues: https://github.com/iiagodias/react-native-alerts-help/issues
- npm.io page: https://npm.io/package/react-native-alerts-help

## Dependencies (1)

- [react-native-vector-icons](https://npm.io/package/react-native-vector-icons.md) ^6.4.2

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [post-robot](https://npm.io/package/post-robot.md) — 93.7K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-05-24
- 2.0.13 — 2019-05-24

## README

## react-native-alerts-help

> Atualmente, o desempenho não é testado no IOS.

<br />
## react-native-alerts-help

Minha primeira lib para react-native!

#### Demostração da lib

![](./demostration.gif)

### Instalação

React-native-alerts-help usa react-native-vector-icons como dependencia.

instalação:

```bash
npm install react-native-alerts-help
```

link:

```bash
react-native link
```

### Usage

```js
import Alert from 'react-native-alerts-help';

<Alert
 visible={this.state.warning}
 onPress={() => this.close()}
 icon="warning"
 color="#f1c40f"
 title="Warning.."
 text="Fill in all the fields below."
 textButton="Close"
/>
```


### Props

| name               | type          | description                              |
| :----------------- | :------------ | :--------------------------------------- |
| visible            | bool          | Para que o modal seja visivel.           |
| icon               | string        | Nome do icone FontAwesome https://oblador.github.io/react-native-vector-icons/            |
| color              | string        | Cor hexadecimal para o botão e icone        |
| title              | string        | Texto de titulo                          |
| text               | string        | Texto do corpo da alerta                 |
| textButton         | string        | Texto do botão                           |

<br />

__event:__

| name               | type     | description                              |
| :----------------- | :------- |  :-------------------------------------- |
| OnClose            | function | Ao fechar a alerta.                      |
| OnPress            | function | Quando clica no botão.                   |

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