0.1.0 • Published 4 years ago

@paraboly/react-native-alert-modal v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Ready to use awesome alerts as modal for React Native via Paraboly.

npm version npm License: MIT

Alert Modal

Installation

Add the dependency:

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

import AlertModal from "@paraboly/react-native-alert-modal";

<AlertModal type="classic" />;

ClassicOnlyText

import AlertModal from "@paraboly/react-native-alert-modal";

<AlertModal type="classicOnlyText" />;

ClassicWithIcon

import AlertModal from "@paraboly/react-native-alert-modal";

<AlertModal type="classicWithIcon" />;

ClassicTriple

import AlertModal from "@paraboly/react-native-alert-modal";

<AlertModal type="classicTriple" />;

ClassicTripleWithIcon

import AlertModal from "@paraboly/react-native-alert-modal";

<AlertModal type="classicTripleWithIcon" height={getStatusBarHeight() + 600} />;

Example Application

  • check the code, 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.

0.1.0

4 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.1

5 years ago