# react-native-swal

> react-native-swal

Latest version **0.1.2** (published 2023-03-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-swal
pnpm add react-native-swal
yarn add react-native-swal
bun add react-native-swal
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2023-03-08 |
| First published | 2023-03-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 496 |
| Unpacked size | 31.2 KB |
| Known vulnerabilities | 0 (+7 in 6 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sunny Choi |
| Maintainers | sunny-choi |
| Keywords | react-native, react-component, react-native-component, react, ios, android, ui, imagebox, image, gallery |

## Links

- npm: https://www.npmjs.com/package/react-native-swal
- Repository: https://github.com/horang-e/react-native-swal
- Homepage: https://github.com/horang-e/react-native-swal#readme
- Issues: https://github.com/horang-e/react-native-swal/issues
- npm.io page: https://npm.io/package/react-native-swal

## Dependencies (496)

- [bl](https://npm.io/package/bl.md) ^4.1.0
- [ip](https://npm.io/package/ip.md) ^1.1.8
- [ms](https://npm.io/package/ms.md) ^2.1.2
- [ws](https://npm.io/package/ws.md) ^6.2.2
- [ajv](https://npm.io/package/ajv.md) ^6.12.6
- [has](https://npm.io/package/has.md) ^1.0.3
- [joi](https://npm.io/package/joi.md) ^17.8.3
- [ob1](https://npm.io/package/ob1.md) ^0.73.7
- [ora](https://npm.io/package/ora.md) ^5.4.1
- [ret](https://npm.io/package/ret.md) ^0.1.15
- [use](https://npm.io/package/use.md) ^3.1.1
- [vlq](https://npm.io/package/vlq.md) ^1.0.1
- [asap](https://npm.io/package/asap.md) ^2.0.6
- [atob](https://npm.io/package/atob.md) ^2.1.2
- [base](https://npm.io/package/base.md) ^0.11.2
- [bser](https://npm.io/package/bser.md) ^2.1.1
- [depd](https://npm.io/package/depd.md) ^2.0.0
- [etag](https://npm.io/package/etag.md) ^1.8.1
- [glob](https://npm.io/package/glob.md) ^7.2.3
- [gopd](https://npm.io/package/gopd.md) ^1.0.1
- [levn](https://npm.io/package/levn.md) ^0.4.1
- [mime](https://npm.io/package/mime.md) ^2.6.0
- [once](https://npm.io/package/once.md) ^1.4.0
- [open](https://npm.io/package/open.md) ^6.4.0
- [pify](https://npm.io/package/pify.md) ^4.0.1
- [pump](https://npm.io/package/pump.md) ^3.0.0
- [send](https://npm.io/package/send.md) ^0.18.0
- [temp](https://npm.io/package/temp.md) ^0.8.3
- [tmpl](https://npm.io/package/tmpl.md) ^1.0.5
- [tr46](https://npm.io/package/tr46.md) ^0.0.3
- [urix](https://npm.io/package/urix.md) ^0.1.0
- [vary](https://npm.io/package/vary.md) ^1.1.2
- [y18n](https://npm.io/package/y18n.md) ^4.0.3
- [acorn](https://npm.io/package/acorn.md) ^7.4.1
- [anser](https://npm.io/package/anser.md) ^1.4.10
- [async](https://npm.io/package/async.md) ^3.2.4
- [bytes](https://npm.io/package/bytes.md) ^3.0.0
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [cliui](https://npm.io/package/cliui.md) ^6.0.0
- [clone](https://npm.io/package/clone.md) ^1.0.4
- [dayjs](https://npm.io/package/dayjs.md) ^1.11.7
- [debug](https://npm.io/package/debug.md) ^4.3.4
- [execa](https://npm.io/package/execa.md) ^1.0.0
- [fastq](https://npm.io/package/fastq.md) ^1.15.0
- [fresh](https://npm.io/package/fresh.md) ^0.5.2
- [isexe](https://npm.io/package/isexe.md) ^2.0.0
- [jsesc](https://npm.io/package/jsesc.md) ^2.5.2
- [json5](https://npm.io/package/json5.md) ^2.2.3
- [kleur](https://npm.io/package/kleur.md) ^3.0.3
- [leven](https://npm.io/package/leven.md) ^3.1.0
- [metro](https://npm.io/package/metro.md) ^0.73.8
- [p-try](https://npm.io/package/p-try.md) ^2.2.0
- [react](https://npm.io/package/react.md) ^18.2.0
- [slash](https://npm.io/package/slash.md) ^3.0.0
- [table](https://npm.io/package/table.md) ^5.4.6
- [tslib](https://npm.io/package/tslib.md) ^2.5.0
- [which](https://npm.io/package/which.md) ^2.0.2
- [write](https://npm.io/package/write.md) ^1.0.3
- [xtend](https://npm.io/package/xtend.md) ^4.0.2
- [yargs](https://npm.io/package/yargs.md) ^15.4.1
- [braces](https://npm.io/package/braces.md) ^3.0.2
- [buffer](https://npm.io/package/buffer.md) ^5.7.1
- [espree](https://npm.io/package/espree.md) ^7.3.1
- [for-in](https://npm.io/package/for-in.md) ^1.0.2
- [globby](https://npm.io/package/globby.md) ^11.1.0
- [ignore](https://npm.io/package/ignore.md) ^5.2.4
- [is-wsl](https://npm.io/package/is-wsl.md) ^1.1.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [merge2](https://npm.io/package/merge2.md) ^1.4.1
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.6
- [recast](https://npm.io/package/recast.md) ^0.20.5
- [rimraf](https://npm.io/package/rimraf.md) ^2.6.3
- [semver](https://npm.io/package/semver.md) ^7.3.8
- [strnum](https://npm.io/package/strnum.md) ^1.0.5
- [terser](https://npm.io/package/terser.md) ^5.16.5
- [throat](https://npm.io/package/throat.md) ^5.0.0
- [unpipe](https://npm.io/package/unpipe.md) ^1.0.0
- [uri-js](https://npm.io/package/uri-js.md) ^4.4.1
- [walker](https://npm.io/package/walker.md) ^1.0.8
- [wrappy](https://npm.io/package/wrappy.md) ^1.0.2
- [accepts](https://npm.io/package/accepts.md) ^1.3.8
- [ci-info](https://npm.io/package/ci-info.md) ^3.8.0
- [connect](https://npm.io/package/connect.md) ^3.7.0
- [csstype](https://npm.io/package/csstype.md) ^3.1.1
- [deep-is](https://npm.io/package/deep-is.md) ^0.1.4
- [destroy](https://npm.io/package/destroy.md) ^1.2.0
- [envinfo](https://npm.io/package/envinfo.md) ^7.8.1
- [esprima](https://npm.io/package/esprima.md) ^4.0.1
- [esquery](https://npm.io/package/esquery.md) ^1.5.0
- [esutils](https://npm.io/package/esutils.md) ^2.0.3
- [extglob](https://npm.io/package/extglob.md) ^2.0.4
- [find-up](https://npm.io/package/find-up.md) ^4.1.0
- [flatted](https://npm.io/package/flatted.md) ^2.0.2
- [gensync](https://npm.io/package/gensync.md) ^1.0.0-beta.2
- [globals](https://npm.io/package/globals.md) ^12.4.0
- [ieee754](https://npm.io/package/ieee754.md) ^1.2.1
- [is-glob](https://npm.io/package/is-glob.md) ^4.0.3
- [isarray](https://npm.io/package/isarray.md) ^1.0.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.14.1
- [kind-of](https://npm.io/package/kind-of.md) ^6.0.3
- [mime-db](https://npm.io/package/mime-db.md) ^1.52.0
- [nocache](https://npm.io/package/nocache.md) ^3.0.4
- [onetime](https://npm.io/package/onetime.md) ^5.1.2
- [p-limit](https://npm.io/package/p-limit.md) ^2.3.0
- [pirates](https://npm.io/package/pirates.md) ^4.0.5
- [pkg-dir](https://npm.io/package/pkg-dir.md) ^3.0.0
- [promise](https://npm.io/package/promise.md) ^8.3.0
- [prompts](https://npm.io/package/prompts.md) ^2.4.2
- [regexpp](https://npm.io/package/regexpp.md) ^3.2.0
- [resolve](https://npm.io/package/resolve.md) ^2.0.0-next.4
- [reusify](https://npm.io/package/reusify.md) ^1.0.4
- [tsutils](https://npm.io/package/tsutils.md) ^3.21.0
- [wcwidth](https://npm.io/package/wcwidth.md) ^1.0.1
- [yallist](https://npm.io/package/yallist.md) ^3.1.1
- [anymatch](https://npm.io/package/anymatch.md) ^3.1.3
- [argparse](https://npm.io/package/argparse.md) ^1.0.10
- [arr-diff](https://npm.io/package/arr-diff.md) ^4.0.0
- [defaults](https://npm.io/package/defaults.md) ^1.0.4
- [dir-glob](https://npm.io/package/dir-glob.md) ^3.0.1
- [doctrine](https://npm.io/package/doctrine.md) ^3.0.0
- [ee-first](https://npm.io/package/ee-first.md) ^1.1.1
- [enquirer](https://npm.io/package/enquirer.md) ^2.3.6
- [error-ex](https://npm.io/package/error-ex.md) ^1.3.2
- [escalade](https://npm.io/package/escalade.md) ^3.1.1
- [for-each](https://npm.io/package/for-each.md) ^0.3.3
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.1.0
- [fsevents](https://npm.io/package/fsevents.md) ^2.3.2
- [has-flag](https://npm.io/package/has-flag.md) ^4.0.0
- [inflight](https://npm.io/package/inflight.md) ^1.0.6
- [inherits](https://npm.io/package/inherits.md) ^2.0.4
- [is-regex](https://npm.io/package/is-regex.md) ^1.1.4
- [isobject](https://npm.io/package/isobject.md) ^3.0.1
- [jsonfile](https://npm.io/package/jsonfile.md) ^4.0.0
- [logkitty](https://npm.io/package/logkitty.md) ^0.7.1
- [make-dir](https://npm.io/package/make-dir.md) ^2.1.0
- [mimic-fn](https://npm.io/package/mimic-fn.md) ^2.1.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.8
- [nice-try](https://npm.io/package/nice-try.md) ^1.0.5
- [node-dir](https://npm.io/package/node-dir.md) ^0.1.17
- [p-locate](https://npm.io/package/p-locate.md) ^4.1.0
- [parseurl](https://npm.io/package/parseurl.md) ^1.3.3
- [path-key](https://npm.io/package/path-key.md) ^3.1.1
- [progress](https://npm.io/package/progress.md) ^2.0.3
- [punycode](https://npm.io/package/punycode.md) ^2.3.0
- [react-is](https://npm.io/package/react-is.md) ^16.13.1
- [readline](https://npm.io/package/readline.md) ^1.3.0
- [statuses](https://npm.io/package/statuses.md) ^1.5.0
- [through2](https://npm.io/package/through2.md) ^2.0.5
- [to-regex](https://npm.io/package/to-regex.md) ^3.0.2
- [acorn-jsx](https://npm.io/package/acorn-jsx.md) ^5.3.2
- [appdirsjs](https://npm.io/package/appdirsjs.md) ^1.2.7
- [arr-union](https://npm.io/package/arr-union.md) ^3.1.0
- [ast-types](https://npm.io/package/ast-types.md) ^0.14.2
- [base64-js](https://npm.io/package/base64-js.md) ^1.5.1
- [call-bind](https://npm.io/package/call-bind.md) ^1.0.2
- [callsites](https://npm.io/package/callsites.md) ^3.1.0
- [camelcase](https://npm.io/package/camelcase.md) ^6.3.0
- [colorette](https://npm.io/package/colorette.md) ^1.4.0
- [commander](https://npm.io/package/commander.md) ^9.5.0
- [commondir](https://npm.io/package/commondir.md) ^1.0.1
- [deepmerge](https://npm.io/package/deepmerge.md) ^3.3.0
- [denodeify](https://npm.io/package/denodeify.md) ^1.2.1
- [encodeurl](https://npm.io/package/encodeurl.md) ^1.0.2
- [esrecurse](https://npm.io/package/esrecurse.md) ^4.3.0
- [fast-diff](https://npm.io/package/fast-diff.md) ^1.2.0
- [fast-glob](https://npm.io/package/fast-glob.md) ^3.2.12
- [get-value](https://npm.io/package/get-value.md) ^2.0.6
- [has-proto](https://npm.io/package/has-proto.md) ^1.0.1
- [has-value](https://npm.io/package/has-value.md) ^1.0.0
- [invariant](https://npm.io/package/invariant.md) ^2.2.4
- [is-bigint](https://npm.io/package/is-bigint.md) ^1.0.4
- [is-buffer](https://npm.io/package/is-buffer.md) ^1.1.6
- [is-number](https://npm.io/package/is-number.md) ^7.0.0
- [is-stream](https://npm.io/package/is-stream.md) ^1.1.0
- [is-string](https://npm.io/package/is-string.md) ^1.0.7
- [is-symbol](https://npm.io/package/is-symbol.md) ^1.0.4
- [jest-mock](https://npm.io/package/jest-mock.md) ^29.5.0
- [jest-util](https://npm.io/package/jest-util.md) ^29.5.0
- [js-tokens](https://npm.io/package/js-tokens.md) ^4.0.0
- [lru-cache](https://npm.io/package/lru-cache.md) ^5.1.1
- [makeerror](https://npm.io/package/makeerror.md) ^1.0.12
- [map-cache](https://npm.io/package/map-cache.md) ^0.2.2
- [map-visit](https://npm.io/package/map-visit.md) ^1.0.0
- [minimatch](https://npm.io/package/minimatch.md) ^3.1.2
- [nanomatch](https://npm.io/package/nanomatch.md) ^1.2.13
- [neo-async](https://npm.io/package/neo-async.md) ^2.6.2
- [os-tmpdir](https://npm.io/package/os-tmpdir.md) ^1.0.2
- [p-finally](https://npm.io/package/p-finally.md) ^1.0.0
- [path-type](https://npm.io/package/path-type.md) ^4.0.0
- [picomatch](https://npm.io/package/picomatch.md) ^2.3.1
- [regex-not](https://npm.io/package/regex-not.md) ^1.0.2
- [scheduler](https://npm.io/package/scheduler.md) ^0.23.0
- [set-value](https://npm.io/package/set-value.md) ^2.0.1
- [strip-eof](https://npm.io/package/strip-eof.md) ^1.0.0
- [type-fest](https://npm.io/package/type-fest.md) ^0.8.1
- [uglify-es](https://npm.io/package/uglify-es.md) ^3.3.9
- [word-wrap](https://npm.io/package/word-wrap.md) ^1.2.3
- [wrap-ansi](https://npm.io/package/wrap-ansi.md) ^6.2.0
- [ansi-regex](https://npm.io/package/ansi-regex.md) ^5.0.1
- [babel-core](https://npm.io/package/babel-core.md) ^7.0.0-bridge.0
- [cache-base](https://npm.io/package/cache-base.md) ^1.0.1
- [cli-cursor](https://npm.io/package/cli-cursor.md) ^3.1.0
- [clone-deep](https://npm.io/package/clone-deep.md) ^4.0.1
- [color-name](https://npm.io/package/color-name.md) ^1.1.4
- [concat-map](https://npm.io/package/concat-map.md) ^0.0.1
- [decamelize](https://npm.io/package/decamelize.md) ^1.2.0
- [estraverse](https://npm.io/package/estraverse.md) ^5.3.0
- [fill-range](https://npm.io/package/fill-range.md) ^7.0.1
- [flat-cache](https://npm.io/package/flat-cache.md) ^2.0.1
- [get-stream](https://npm.io/package/get-stream.md) ^4.1.0
- [globalthis](https://npm.io/package/globalthis.md) ^1.0.3
- [has-values](https://npm.io/package/has-values.md) ^1.0.0
- [image-size](https://npm.io/package/image-size.md) ^0.6.3
- [is-extglob](https://npm.io/package/is-extglob.md) ^2.1.1
- [is-weakref](https://npm.io/package/is-weakref.md) ^1.0.2
- [is-windows](https://npm.io/package/is-windows.md) ^1.0.2
- [metro-core](https://npm.io/package/metro-core.md) ^0.73.8
- [micromatch](https://npm.io/package/micromatch.md) ^4.0.5
- [mime-types](https://npm.io/package/mime-types.md) ^2.1.35
- [mixin-deep](https://npm.io/package/mixin-deep.md) ^1.3.2
- [negotiator](https://npm.io/package/negotiator.md) ^0.6.3
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.9
- [node-int64](https://npm.io/package/node-int64.md) ^0.4.0
- [nullthrows](https://npm.io/package/nullthrows.md) ^1.1.1
- [on-headers](https://npm.io/package/on-headers.md) ^1.0.2
- [optionator](https://npm.io/package/optionator.md) ^0.9.1
- [parse-json](https://npm.io/package/parse-json.md) ^4.0.0
- [pascalcase](https://npm.io/package/pascalcase.md) ^0.1.1
- [path-parse](https://npm.io/package/path-parse.md) ^1.0.7
- [picocolors](https://npm.io/package/picocolors.md) ^1.0.0
- [prelude-ls](https://npm.io/package/prelude-ls.md) ^1.2.1
- [prop-types](https://npm.io/package/prop-types.md) ^15.8.1
- [regenerate](https://npm.io/package/regenerate.md) ^1.4.2
- [safe-regex](https://npm.io/package/safe-regex.md) ^1.1.0
- [sisteransi](https://npm.io/package/sisteransi.md) ^1.0.5
- [slice-ansi](https://npm.io/package/slice-ansi.md) ^2.1.0
- [snapdragon](https://npm.io/package/snapdragon.md) ^0.8.2
- [source-map](https://npm.io/package/source-map.md) ^0.7.4
- [sprintf-js](https://npm.io/package/sprintf-js.md) ^1.0.3
- [stackframe](https://npm.io/package/stackframe.md) ^1.3.4
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^6.0.1
- [text-table](https://npm.io/package/text-table.md) ^0.2.0
- [type-check](https://npm.io/package/type-check.md) ^0.4.0
- [whatwg-url](https://npm.io/package/whatwg-url.md) ^5.0.0
- [ansi-colors](https://npm.io/package/ansi-colors.md) ^4.1.3
- [ansi-styles](https://npm.io/package/ansi-styles.md) ^4.3.0
- [arr-flatten](https://npm.io/package/arr-flatten.md) ^1.1.0
- [array-union](https://npm.io/package/array-union.md) ^2.1.0
- [buffer-from](https://npm.io/package/buffer-from.md) ^1.1.2
- [caller-path](https://npm.io/package/caller-path.md) ^2.0.0
- [class-utils](https://npm.io/package/class-utils.md) ^0.3.6
- [compression](https://npm.io/package/compression.md) ^1.7.4
- [cosmiconfig](https://npm.io/package/cosmiconfig.md) ^5.2.1
- [cross-spawn](https://npm.io/package/cross-spawn.md) ^7.0.3
- [emoji-regex](https://npm.io/package/emoji-regex.md) ^7.0.3
- [es-abstract](https://npm.io/package/es-abstract.md) ^1.21.1
- [escape-html](https://npm.io/package/escape-html.md) ^1.0.3
- [fb-watchman](https://npm.io/package/fb-watchman.md) ^2.0.2
- [flow-parser](https://npm.io/package/flow-parser.md) ^0.185.2
- [fs.realpath](https://npm.io/package/fs.realpath.md) ^1.0.0
- [glob-parent](https://npm.io/package/glob-parent.md) ^5.1.2
- [graceful-fs](https://npm.io/package/graceful-fs.md) ^4.2.10
- [has-bigints](https://npm.io/package/has-bigints.md) ^1.0.2
- [has-symbols](https://npm.io/package/has-symbols.md) ^1.0.3
- [http-errors](https://npm.io/package/http-errors.md) ^2.0.0
- [imurmurhash](https://npm.io/package/imurmurhash.md) ^0.1.4
- [is-arrayish](https://npm.io/package/is-arrayish.md) ^0.2.1
- [is-callable](https://npm.io/package/is-callable.md) ^1.2.7
- [jest-worker](https://npm.io/package/jest-worker.md) ^27.5.1
- [jsc-android](https://npm.io/package/jsc-android.md) ^250231.0.0
- [jscodeshift](https://npm.io/package/jscodeshift.md) ^0.13.1
- [locate-path](https://npm.io/package/locate-path.md) ^5.0.0
- [log-symbols](https://npm.io/package/log-symbols.md) ^4.1.0
- [memoize-one](https://npm.io/package/memoize-one.md) ^5.2.1
- [metro-cache](https://npm.io/package/metro-cache.md) ^0.73.8
- [object-copy](https://npm.io/package/object-copy.md) ^0.1.0
- [object-keys](https://npm.io/package/object-keys.md) ^1.1.1
- [object.pick](https://npm.io/package/object.pick.md) ^1.3.0
- [on-finished](https://npm.io/package/on-finished.md) ^2.3.0
- [path-exists](https://npm.io/package/path-exists.md) ^4.0.0
- [regjsparser](https://npm.io/package/regjsparser.md) ^0.9.1
- [resolve-url](https://npm.io/package/resolve-url.md) ^0.2.1
- [safe-buffer](https://npm.io/package/safe-buffer.md) ^5.1.2
- [shell-quote](https://npm.io/package/shell-quote.md) ^1.8.0
- [signal-exit](https://npm.io/package/signal-exit.md) ^3.0.7
- [stack-utils](https://npm.io/package/stack-utils.md) ^2.0.6
- [sudo-prompt](https://npm.io/package/sudo-prompt.md) ^9.2.1
- [type-detect](https://npm.io/package/type-detect.md) ^4.0.8
- [union-value](https://npm.io/package/union-value.md) ^1.0.1
- [unset-value](https://npm.io/package/unset-value.md) ^1.0.0
- [utils-merge](https://npm.io/package/utils-merge.md) ^1.0.1
- [yocto-queue](https://npm.io/package/yocto-queue.md) ^0.1.0
- [array-unique](https://npm.io/package/array-unique.md) ^0.3.2
- [astral-regex](https://npm.io/package/astral-regex.md) ^1.0.0
- [browserslist](https://npm.io/package/browserslist.md) ^4.21.5
- [caniuse-lite](https://npm.io/package/caniuse-lite.md) ^1.0.30001460
- [cli-spinners](https://npm.io/package/cli-spinners.md) ^2.7.0
- [compressible](https://npm.io/package/compressible.md) ^2.0.18
- [core-util-is](https://npm.io/package/core-util-is.md) ^1.0.3
- [errorhandler](https://npm.io/package/errorhandler.md) ^1.5.1
- [eslint-scope](https://npm.io/package/eslint-scope.md) ^5.1.1
- [eslint-utils](https://npm.io/package/eslint-utils.md) ^3.0.0
- [finalhandler](https://npm.io/package/finalhandler.md) ^1.1.2
- [import-fresh](https://npm.io/package/import-fresh.md) ^3.3.0
- [is-directory](https://npm.io/package/is-directory.md) ^0.3.1
- [loose-envify](https://npm.io/package/loose-envify.md) ^1.4.0
- [merge-stream](https://npm.io/package/merge-stream.md) ^2.0.0
- [metro-config](https://npm.io/package/metro-config.md) ^0.73.8
- [npm-run-path](https://npm.io/package/npm-run-path.md) ^2.0.2
- [object-visit](https://npm.io/package/object-visit.md) ^1.0.1
- [range-parser](https://npm.io/package/range-parser.md) ^1.2.1
- [react-native](https://npm.io/package/react-native.md) ^0.71.3
- [regexpu-core](https://npm.io/package/regexpu-core.md) ^5.3.1
- [resolve-from](https://npm.io/package/resolve-from.md) ^4.0.0
- [run-parallel](https://npm.io/package/run-parallel.md) ^1.2.0
- [serve-static](https://npm.io/package/serve-static.md) ^1.15.0
- [set-blocking](https://npm.io/package/set-blocking.md) ^2.0.0
- [side-channel](https://npm.io/package/side-channel.md) ^1.0.4
- [split-string](https://npm.io/package/split-string.md) ^3.1.0
- [string-width](https://npm.io/package/string-width.md) ^3.1.0
- [toidentifier](https://npm.io/package/toidentifier.md) ^1.0.1
- [universalify](https://npm.io/package/universalify.md) ^0.1.2
- [whatwg-fetch](https://npm.io/package/whatwg-fetch.md) ^3.6.2
- [which-module](https://npm.io/package/which-module.md) ^2.0.0
- [yargs-parser](https://npm.io/package/yargs-parser.md) ^18.1.3
- [absolute-path](https://npm.io/package/absolute-path.md) ^0.0.0
- [async-limiter](https://npm.io/package/async-limiter.md) ^1.0.1
- [color-convert](https://npm.io/package/color-convert.md) ^2.0.1
- [end-of-stream](https://npm.io/package/end-of-stream.md) ^1.4.4
- [function-bind](https://npm.io/package/function-bind.md) ^1.1.1
- [get-intrinsic](https://npm.io/package/get-intrinsic.md) ^1.2.0
- [hermes-estree](https://npm.io/package/hermes-estree.md) ^0.8.0
- [hermes-parser](https://npm.io/package/hermes-parser.md) ^0.8.0
- [internal-slot](https://npm.io/package/internal-slot.md) ^1.0.5
- [is-descriptor](https://npm.io/package/is-descriptor.md) ^1.0.2
- [is-extendable](https://npm.io/package/is-extendable.md) ^1.0.1
- [jest-get-type](https://npm.io/package/jest-get-type.md) ^26.3.0
- [jest-validate](https://npm.io/package/jest-validate.md) ^26.6.2
- [jsx-ast-utils](https://npm.io/package/jsx-ast-utils.md) ^3.3.3
- [metro-runtime](https://npm.io/package/metro-runtime.md) ^0.73.7
- [node-releases](https://npm.io/package/node-releases.md) ^2.0.10
- [object-assign](https://npm.io/package/object-assign.md) ^4.1.1
- [object.assign](https://npm.io/package/object.assign.md) ^4.1.4
- [object.hasown](https://npm.io/package/object.hasown.md) ^1.1.2
- [object.values](https://npm.io/package/object.values.md) ^1.1.6
- [parent-module](https://npm.io/package/parent-module.md) ^1.0.1
- [pretty-format](https://npm.io/package/pretty-format.md) ^26.6.2
- [react-refresh](https://npm.io/package/react-refresh.md) ^0.4.3
- [repeat-string](https://npm.io/package/repeat-string.md) ^1.6.1
- [shallow-clone](https://npm.io/package/shallow-clone.md) ^3.0.1
- [shebang-regex](https://npm.io/package/shebang-regex.md) ^3.0.0
- [static-extend](https://npm.io/package/static-extend.md) ^0.1.2
- [ansi-fragments](https://npm.io/package/ansi-fragments.md) ^0.2.1
- [array-includes](https://npm.io/package/array-includes.md) ^3.1.6
- [assign-symbols](https://npm.io/package/assign-symbols.md) ^1.0.0
- [balanced-match](https://npm.io/package/balanced-match.md) ^1.0.2
- [command-exists](https://npm.io/package/command-exists.md) ^1.2.9
- [core-js-compat](https://npm.io/package/core-js-compat.md) ^3.29.0
- [extend-shallow](https://npm.io/package/extend-shallow.md) ^3.0.2
- [find-cache-dir](https://npm.io/package/find-cache-dir.md) ^2.1.0
- [fragment-cache](https://npm.io/package/fragment-cache.md) ^0.2.1
- [is-core-module](https://npm.io/package/is-core-module.md) ^2.11.0
- [is-date-object](https://npm.io/package/is-date-object.md) ^1.0.5
- [is-interactive](https://npm.io/package/is-interactive.md) ^1.0.0
- [is-typed-array](https://npm.io/package/is-typed-array.md) ^1.1.10
- [metro-file-map](https://npm.io/package/metro-file-map.md) ^0.73.8
- [metro-resolver](https://npm.io/package/metro-resolver.md) ^0.73.8
- [normalize-path](https://npm.io/package/normalize-path.md) ^3.0.0
- [object-inspect](https://npm.io/package/object-inspect.md) ^1.12.3
- [object.entries](https://npm.io/package/object.entries.md) ^1.1.6
- [repeat-element](https://npm.io/package/repeat-element.md) ^1.1.4
- [restore-cursor](https://npm.io/package/restore-cursor.md) ^3.1.0
- [setprototypeof](https://npm.io/package/setprototypeof.md) ^1.2.0
- [source-map-url](https://npm.io/package/source-map-url.md) ^0.4.1
- [string_decoder](https://npm.io/package/string_decoder.md) ^1.3.0
- [supports-color](https://npm.io/package/supports-color.md) ^7.2.0
- [to-object-path](https://npm.io/package/to-object-path.md) ^0.3.0
- [to-regex-range](https://npm.io/package/to-regex-range.md) ^5.0.1
- [util-deprecate](https://npm.io/package/util-deprecate.md) ^1.0.2
- [brace-expansion](https://npm.io/package/brace-expansion.md) ^1.1.11
- [caller-callsite](https://npm.io/package/caller-callsite.md) ^2.0.0
- [copy-descriptor](https://npm.io/package/copy-descriptor.md) ^0.1.1
- [define-property](https://npm.io/package/define-property.md) ^2.0.2
- [es-to-primitive](https://npm.io/package/es-to-primitive.md) ^1.2.1
- [expand-brackets](https://npm.io/package/expand-brackets.md) ^2.1.4
- [fast-deep-equal](https://npm.io/package/fast-deep-equal.md) ^3.1.3
- [fast-xml-parser](https://npm.io/package/fast-xml-parser.md) ^4.1.3
- [get-caller-file](https://npm.io/package/get-caller-file.md) ^2.0.5
- [has-tostringtag](https://npm.io/package/has-tostringtag.md) ^1.0.0
- [is-array-buffer](https://npm.io/package/is-array-buffer.md) ^3.0.2
- [is-plain-object](https://npm.io/package/is-plain-object.md) ^2.0.4
- [jest-regex-util](https://npm.io/package/jest-regex-util.md) ^27.5.1
- [jest-serializer](https://npm.io/package/jest-serializer.md) ^27.5.1
- [lodash.debounce](https://npm.io/package/lodash.debounce.md) ^4.0.8
- [lodash.throttle](https://npm.io/package/lodash.throttle.md) ^4.1.1
- [metro-cache-key](https://npm.io/package/metro-cache-key.md) ^0.73.8
- [natural-compare](https://npm.io/package/natural-compare.md) ^1.4.0
- [node-stream-zip](https://npm.io/package/node-stream-zip.md) ^1.15.0
- [queue-microtask](https://npm.io/package/queue-microtask.md) ^1.2.3
- [readable-stream](https://npm.io/package/readable-stream.md) ^3.6.1
- [safe-regex-test](https://npm.io/package/safe-regex-test.md) ^1.0.0
- [serialize-error](https://npm.io/package/serialize-error.md) ^2.1.0
- [shebang-command](https://npm.io/package/shebang-command.md) ^2.0.0
- [snapdragon-node](https://npm.io/package/snapdragon-node.md) ^2.1.1
- [snapdragon-util](https://npm.io/package/snapdragon-util.md) ^3.0.1
- [unbox-primitive](https://npm.io/package/unbox-primitive.md) ^1.0.2
- [abort-controller](https://npm.io/package/abort-controller.md) ^3.0.0
- [collection-visit](https://npm.io/package/collection-visit.md) ^1.0.0
- [fast-levenshtein](https://npm.io/package/fast-levenshtein.md) ^2.0.6
- [file-entry-cache](https://npm.io/package/file-entry-cache.md) ^5.0.1
- [is-negative-zero](https://npm.io/package/is-negative-zero.md) ^2.0.2
- [is-number-object](https://npm.io/package/is-number-object.md) ^1.0.7
- [metro-source-map](https://npm.io/package/metro-source-map.md) ^0.73.7
- [path-is-absolute](https://npm.io/package/path-is-absolute.md) ^1.0.1
- [v8-compile-cache](https://npm.io/package/v8-compile-cache.md) ^2.3.0
- [babel-preset-fbjs](https://npm.io/package/babel-preset-fbjs.md) ^3.4.0
- [component-emitter](https://npm.io/package/component-emitter.md) ^1.3.0
- [define-properties](https://npm.io/package/define-properties.md) ^1.2.0
- [event-target-shim](https://npm.io/package/event-target-shim.md) ^5.0.1
- [is-boolean-object](https://npm.io/package/is-boolean-object.md) ^1.1.2
- [jest-message-util](https://npm.io/package/jest-message-util.md) ^29.5.0
- [metro-symbolicate](https://npm.io/package/metro-symbolicate.md) ^0.73.8
- [require-directory](https://npm.io/package/require-directory.md) ^2.1.1
- [stacktrace-parser](https://npm.io/package/stacktrace-parser.md) ^0.1.10
- [which-typed-array](https://npm.io/package/which-typed-array.md) ^1.1.9
- [write-file-atomic](https://npm.io/package/write-file-atomic.md) ^2.4.3
- [convert-source-map](https://npm.io/package/convert-source-map.md) ^1.9.0
- [error-stack-parser](https://npm.io/package/error-stack-parser.md) ^2.1.4
- [es-set-tostringtag](https://npm.io/package/es-set-tostringtag.md) ^2.0.1
- [is-data-descriptor](https://npm.io/package/is-data-descriptor.md) ^1.0.0
- [object.fromentries](https://npm.io/package/object.fromentries.md) ^2.0.6
- [source-map-resolve](https://npm.io/package/source-map-resolve.md) ^0.5.3
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.5.21
- [to-fast-properties](https://npm.io/package/to-fast-properties.md) ^2.0.0
- [typed-array-length](https://npm.io/package/typed-array-length.md) ^1.0.4
- [webidl-conversions](https://npm.io/package/webidl-conversions.md) ^3.0.1
- [es-shim-unscopables](https://npm.io/package/es-shim-unscopables.md) ^1.0.0
- [eslint-visitor-keys](https://npm.io/package/eslint-visitor-keys.md) ^2.1.0
- [metro-minify-terser](https://npm.io/package/metro-minify-terser.md) ^0.73.8
- [metro-minify-uglify](https://npm.io/package/metro-minify-uglify.md) ^0.73.8
- [react-devtools-core](https://npm.io/package/react-devtools-core.md) ^4.27.2
- [regenerator-runtime](https://npm.io/package/regenerator-runtime.md) ^0.13.11
- [strip-json-comments](https://npm.io/package/strip-json-comments.md) ^3.1.1
- [decode-uri-component](https://npm.io/package/decode-uri-component.md) ^0.2.2
- [electron-to-chromium](https://npm.io/package/electron-to-chromium.md) ^1.4.322
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^2.0.0
- [functions-have-names](https://npm.io/package/functions-have-names.md) ^1.2.3
- [is-unicode-supported](https://npm.io/package/is-unicode-supported.md) ^0.1.0
- [json-schema-traverse](https://npm.io/package/json-schema-traverse.md) ^0.4.1
- [process-nextick-args](https://npm.io/package/process-nextick-args.md) ^2.0.1
- [react-native-codegen](https://npm.io/package/react-native-codegen.md) ^0.71.5
- [jest-environment-node](https://npm.io/package/jest-environment-node.md) ^29.5.0
- [metro-hermes-compiler](https://npm.io/package/metro-hermes-compiler.md) ^0.73.8
- [metro-inspector-proxy](https://npm.io/package/metro-inspector-proxy.md) ^0.73.8
- [regenerator-transform](https://npm.io/package/regenerator-transform.md) ^0.15.1
- [require-main-filename](https://npm.io/package/require-main-filename.md) ^2.0.0
- [which-boxed-primitive](https://npm.io/package/which-boxed-primitive.md) ^1.0.2
- [available-typed-arrays](https://npm.io/package/available-typed-arrays.md) ^1.0.5
- [get-symbol-description](https://npm.io/package/get-symbol-description.md) ^1.0.0
- [is-accessor-descriptor](https://npm.io/package/is-accessor-descriptor.md) ^1.0.0
- [is-shared-array-buffer](https://npm.io/package/is-shared-array-buffer.md) ^1.0.2
- [metro-transform-worker](https://npm.io/package/metro-transform-worker.md) ^0.73.8
- [react-shallow-renderer](https://npm.io/package/react-shallow-renderer.md) ^16.15.0
- [regexp.prototype.flags](https://npm.io/package/regexp.prototype.flags.md) ^1.4.3
- [update-browserslist-db](https://npm.io/package/update-browserslist-db.md) ^1.0.10
- [array.prototype.flatmap](https://npm.io/package/array.prototype.flatmap.md) ^1.3.1
- [function.prototype.name](https://npm.io/package/function.prototype.name.md) ^1.1.5
- [is-fullwidth-code-point](https://npm.io/package/is-fullwidth-code-point.md) ^2.0.0
- [metro-babel-transformer](https://npm.io/package/metro-babel-transformer.md) ^0.73.8
- [metro-transform-plugins](https://npm.io/package/metro-transform-plugins.md) ^0.73.8
- [posix-character-classes](https://npm.io/package/posix-character-classes.md) ^0.1.1
- [prettier-linter-helpers](https://npm.io/package/prettier-linter-helpers.md) ^1.0.0
- [use-sync-external-store](https://npm.io/package/use-sync-external-store.md) ^1.2.0
- [has-property-descriptors](https://npm.io/package/has-property-descriptors.md) ^1.0.0
- [json-parse-better-errors](https://npm.io/package/json-parse-better-errors.md) ^1.0.2
- [string.prototype.trimend](https://npm.io/package/string.prototype.trimend.md) ^1.0.6
- [functional-red-black-tree](https://npm.io/package/functional-red-black-tree.md) ^1.0.1
- [string.prototype.matchall](https://npm.io/package/string.prototype.matchall.md) ^4.0.8
- [fast-json-stable-stringify](https://npm.io/package/fast-json-stable-stringify.md) ^2.1.0
- [hermes-profile-transformer](https://npm.io/package/hermes-profile-transformer.md) ^0.0.6
- [react-native-gradle-plugin](https://npm.io/package/react-native-gradle-plugin.md) ^0.71.16
- [string.prototype.trimstart](https://npm.io/package/string.prototype.trimstart.md) ^1.0.6
- [babel-plugin-polyfill-corejs2](https://npm.io/package/babel-plugin-polyfill-corejs2.md) ^0.3.3
- [babel-plugin-polyfill-corejs3](https://npm.io/package/babel-plugin-polyfill-corejs3.md) ^0.6.0
- [regenerate-unicode-properties](https://npm.io/package/regenerate-unicode-properties.md) ^10.1.0
- [metro-react-native-babel-preset](https://npm.io/package/metro-react-native-babel-preset.md) ^0.73.8
- [supports-preserve-symlinks-flag](https://npm.io/package/supports-preserve-symlinks-flag.md) ^1.0.0
- [babel-plugin-polyfill-regenerator](https://npm.io/package/babel-plugin-polyfill-regenerator.md) ^0.4.1
- [unicode-match-property-ecmascript](https://npm.io/package/unicode-match-property-ecmascript.md) ^2.0.0
- [deprecated-react-native-prop-types](https://npm.io/package/deprecated-react-native-prop-types.md) ^3.0.1
- [unicode-property-aliases-ecmascript](https://npm.io/package/unicode-property-aliases-ecmascript.md) ^2.1.0
- [metro-react-native-babel-transformer](https://npm.io/package/metro-react-native-babel-transformer.md) ^0.73.7
- [json-stable-stringify-without-jsonify](https://npm.io/package/json-stable-stringify-without-jsonify.md) ^1.0.1
- [unicode-match-property-value-ecmascript](https://npm.io/package/unicode-match-property-value-ecmascript.md) ^2.1.0
- [unicode-canonical-property-names-ecmascript](https://npm.io/package/unicode-canonical-property-names-ecmascript.md) ^2.0.0
- [babel-plugin-syntax-trailing-function-commas](https://npm.io/package/babel-plugin-syntax-trailing-function-commas.md) ^7.0.0-beta.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2023-03-08
- 0.1.1 — 2023-03-08
- 0.2.0 — 2023-03-07
- 0.0.2 — 2023-03-07
- 0.0.1 — 2023-03-07

## README

# react-native-swal




This library is really simple popup modal same as Sweet Alert in React Native.

React-native-swal popup for a second(It can be cutomize) and closed.


![ezgif-5-3efbc9f5a3](https://user-images.githubusercontent.com/105104335/223360296-37321a8c-d263-415d-8428-de4c9f7c4b9c.gif)
![ezgif-1-48c03b2d4b](https://user-images.githubusercontent.com/105104335/223648951-9154156b-3b5a-44a4-889b-5a62d81c2da7.gif)



## Document

- [Installation](#installation)
- [How to use](#how-to-use)
- [Properties](#properties)

## Installation

```bash
npm i react-native-swal
```

## How to use

Import react-native-swal.

```js
import Swal from 'react-native-swal';
```

Add the source code below to where you want to use it.

```js
return (
     <Swal
        swal={swal}
        setSwal={setSwal}
        text={text}
        backgroundcolor="#225"
        color="white"
        positionFromBottom={80}
        fontsize={16}
        touchOutSideClose={true}
        duration={3000}
        textStyle={{fontFamily: 'NotoSans'}}
        button={true}
        buttonText={'hello'}
        btnFunction={() => setMode(!mod)}
        btnStyle={{color: 'red'}}
        popup={false}
      />
);
```

## Properties

Below are `react-native-swal` specific properties.

| Prop                           | required | Type                                                                                                                  | Description                                                                                                                                |
| ------------------------------ | -------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| swal | O        | boolean                                                                                                               | modal's state                         |
| setSwal                  | O        | (open: boolean) => void                                                                                                               | modal's setState |
| text                 | O        | string                                                                                                               |text you want to show                                                                                     |
| backgroundcolor           | X        | string                                                                                                                | background color for swal (default : "black")                                                                                                 |
| color         | X       | string                                                                                                                | text color for swal (default : "white")                                                                       |
| positionFromBottom                       | X        | number                                                                                                           | set the position from bottom  (default : 80)                                                                         |
| fontsize                       | X        | number                                                                                                               | text font size   (default : 16)                                                                                                               |
| touchOutSideClose                | X        | boolean                                                                                                            | If you choose this props as true this modal is closed when you click outside of modal  (default : false)                                                                                   |
| popup                     | X        | boolean |set swal is pop up and gone or not(default : true) |
| duration                     | X        | number |set how long swal opened  (default : 2000(2s)(popup Prop has to be true))| 
| textStyle                     | X        | {} |set text style in modal-> main text|
| button                     | X        | boolean | add additional button to do some function when you click it|
| buttonText                     | X        | string | set button's text(it shows when button Prop is true)|
| btnStyle                     | X        | {} |set button's textStyle underline is default (it shows when button Prop is true)|
| btnFunction                     | X        | () => void |set function when you hit the button(it shows when button Prop is true)|

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