https://github.com/paraboly/react-native-alert-modal
Ready to use awesome alerts as modal for React Native via Paraboly.
https://github.com/paraboly/react-native-alert-modal
Last synced: over 1 year ago
JSON representation
Ready to use awesome alerts as modal for React Native via Paraboly.
- Host: GitHub
- URL: https://github.com/paraboly/react-native-alert-modal
- Owner: Paraboly
- Created: 2019-06-25T15:01:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T01:04:07.000Z (over 3 years ago)
- Last Synced: 2025-03-21T21:11:57.704Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://www.paraboly.com
- Size: 5.4 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

Ready to use awesome alerts as modal for React Native via Paraboly.
[](https://www.npmjs.com/package/@paraboly/react-native-alert-modal)
[](https://www.npmjs.org/package/@paraboly/react-native-alert-modal)
[](https://opensource.org/licenses/MIT)
## Alert Modal
## Installation
Add the dependency:
```ruby
npm i @paraboly/react-native-alert-modal
```
## Peer Dependencies
##### IMPORTANT! You need install them.
```
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"react-native-modal": "^11.0.2",
"react-native-vector-icons": "^6.5.0",
"react-native-linear-gradient": "^2.5.4",
"react-native-dynamic-vector-icons": "0.0.4",
```
## Basic Usage of AlertModal
#### Classic
```js
import AlertModal from "@paraboly/react-native-alert-modal";
;
```
#### ClassicOnlyText
```js
import AlertModal from "@paraboly/react-native-alert-modal";
;
```
#### ClassicWithIcon
```js
import AlertModal from "@paraboly/react-native-alert-modal";
;
```
#### ClassicTriple
```js
import AlertModal from "@paraboly/react-native-alert-modal";
;
```
#### ClassicTripleWithIcon
```js
import AlertModal from "@paraboly/react-native-alert-modal";
;
```
### Example Application
- [check the code](example/App.js), and yes! :) all of the images, screenshots are directly taken
from the this example. Of course, you can simply clone the project and run the example on your own environment.
### Modal Types
- Classic
- ClassicOnlyText
- ClassicWithIcon
- ClassicTriple
- ClassicTripleWithIcon
## Author
FreakyCoder, kurayogun@gmail.com | kuray.ogun@paraboly.com
## License
Paraboly React Native Alert Modal Library is available under the MIT license. See the LICENSE file for more info.