{"_id":"@aasatech/react-native-alert-notification","_rev":"4-1ba2c0f3c6cb97767e17b79d72388eff","name":"@aasatech/react-native-alert-notification","dist-tags":{"latest":"0.4.4"},"versions":{"0.4.0":{"name":"@aasatech/react-native-alert-notification","version":"0.4.0","license":"MIT","description":"Toast notification and dialog box notification for react native","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","commit":"git-cz","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android","alert","notification","dialog box","toast notification","popup","dialog","modal"],"author":{"name":"Rodolphe Jerez","email":"contact@codingbyjerez.com","url":"github.com/codingbyjerez"},"repository":{"type":"git","url":"git+https://github.com/CodingByJerez/react-native-alert-notification.git"},"bugs":{"url":"https://github.com/CodingByJerez/react-native-alert-notification/issues"},"homepage":"https://github.com/CodingByJerez/react-native-alert-notification#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^17.0.1","@types/react-native":"0.66.0","commitlint":"^11.0.0","eslint":"^7.14.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","git-cz":"^4.9.0","husky":"^4.2.5","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"17.0.1","react-native":"0.66.0","react-native-builder-bob":"^0.18.3","react-native-safe-area-context":"^3.2.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":">=0.62.0","react-native-safe-area-context":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":false},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"31c901effd1550b3edbc1026ca8a8a1d9e3c4cc3","_id":"@aasatech/react-native-alert-notification@0.4.0","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-oIREtuThc6cFSroiYPwk3tqNV9R7aYDcXPMriCwmmNvnF5pkNCWhyl0A9Xg0GscPCbTqXoWQOsmORihk53YflA==","shasum":"4e36ae340057346108f33b80f58566d16efec11e","tarball":"https://registry.npmjs.org/@aasatech/react-native-alert-notification/-/react-native-alert-notification-0.4.0.tgz","fileCount":81,"unpackedSize":260191,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6hdAzfvlmhxUX3234RDXeJRRaj10cTjg7EI2YTV6QTAiASYnpdtz8/NtnIWJMgL9LMYtoyPk/4NMltMwBgPgCF8g=="}]},"_npmUser":{"name":"aasatech","email":"choengteurchhoy@gmail.com"},"directories":{},"maintainers":[{"name":"aasatech","email":"choengteurchhoy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-alert-notification_0.4.0_1704545034350_0.14184283907123607"},"_hasShrinkwrap":false},"0.4.1":{"name":"@aasatech/react-native-alert-notification","version":"0.4.1","license":"MIT","description":"Toast notification and dialog box notification for react native","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","commit":"git-cz","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android","alert","notification","dialog box","toast notification","popup","dialog","modal"],"author":{"name":"Rodolphe Jerez","email":"contact@codingbyjerez.com","url":"github.com/codingbyjerez"},"repository":{"type":"git","url":"git+https://github.com/aasatech/react-native-alert-notification.git"},"bugs":{"url":"https://github.com/aasatech/react-native-alert-notification/issues"},"homepage":"https://github.com/aasatech/react-native-alert-notification#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^17.0.1","@types/react-native":"0.66.0","commitlint":"^11.0.0","eslint":"^7.14.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","git-cz":"^4.9.0","husky":"^4.2.5","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"17.0.1","react-native":"0.66.0","react-native-builder-bob":"^0.18.3","react-native-safe-area-context":"^3.2.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":">=0.62.0","react-native-safe-area-context":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":false},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"31c901effd1550b3edbc1026ca8a8a1d9e3c4cc3","_id":"@aasatech/react-native-alert-notification@0.4.1","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-8HXLhXvu/Xi+kwAqGhdHk9m/fVcPL+Z0INL1KHcUFrDKbtUrwfhdde0JT0DA55pd+e7icqB87LGLI8wLYjuVIw==","shasum":"76922103d4cfa30dbaa29bdb17484792e960c1ba","tarball":"https://registry.npmjs.org/@aasatech/react-native-alert-notification/-/react-native-alert-notification-0.4.1.tgz","fileCount":81,"unpackedSize":261709,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8j5/W6fQTpqHg0pEhPUyMl92xBYMV2kHk8S5Q2169RgIgFwzNUCY/rnb9si5ZE4QT3xJ+7M8mzbGhlAOi/0z4O6Y="}]},"_npmUser":{"name":"aasatech","email":"choengteurchhoy@gmail.com"},"directories":{},"maintainers":[{"name":"aasatech","email":"choengteurchhoy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-alert-notification_0.4.1_1707228648565_0.8489523264188827"},"_hasShrinkwrap":false},"0.4.2":{"name":"@aasatech/react-native-alert-notification","version":"0.4.2","license":"MIT","description":"Toast notification and dialog box notification for react native","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","commit":"git-cz","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android","alert","notification","dialog box","toast notification","popup","dialog","modal"],"author":{"name":"Rodolphe Jerez","email":"contact@codingbyjerez.com","url":"github.com/codingbyjerez"},"repository":{"type":"git","url":"git+https://github.com/aasatech/react-native-alert-notification.git"},"bugs":{"url":"https://github.com/aasatech/react-native-alert-notification/issues"},"homepage":"https://github.com/aasatech/react-native-alert-notification#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^17.0.1","@types/react-native":"0.66.0","commitlint":"^11.0.0","eslint":"^7.14.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","git-cz":"^4.9.0","husky":"^4.2.5","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"17.0.1","react-native":"0.66.0","react-native-builder-bob":"^0.18.3","react-native-safe-area-context":"^3.2.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":">=0.62.0","react-native-safe-area-context":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":false},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"31c901effd1550b3edbc1026ca8a8a1d9e3c4cc3","_id":"@aasatech/react-native-alert-notification@0.4.2","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-BSW2uvBxoVeNss/fq3i6bTKbJdZc+Xqr293bhfyJtYu/mPTmrHqFVPRON2GqNnhmgKWdt/7ZlZRUP8hI+4+TVA==","shasum":"d7ff6bad11664a37bebf3c1da72ac69b367a4998","tarball":"https://registry.npmjs.org/@aasatech/react-native-alert-notification/-/react-native-alert-notification-0.4.2.tgz","fileCount":81,"unpackedSize":262020,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2pQ74UZdLDjK3nlKfsXPKK+m9A5Y1fwJiwfUvPPxa+wIgGFp30t31XD3Sbztga/lQjhl+pdVxSlu7BVHEKcyJb74="}]},"_npmUser":{"name":"aasatech","email":"choengteurchhoy@gmail.com"},"directories":{},"maintainers":[{"name":"aasatech","email":"choengteurchhoy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-alert-notification_0.4.2_1707230325635_0.00733482160452037"},"_hasShrinkwrap":false},"0.4.3":{"name":"@aasatech/react-native-alert-notification","version":"0.4.3","license":"MIT","description":"Toast notification and dialog box notification for react native","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","commit":"git-cz","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android","alert","notification","dialog box","toast notification","popup","dialog","modal"],"author":{"name":"Rodolphe Jerez","email":"contact@codingbyjerez.com","url":"github.com/codingbyjerez"},"repository":{"type":"git","url":"git+https://github.com/aasatech/react-native-alert-notification.git"},"bugs":{"url":"https://github.com/aasatech/react-native-alert-notification/issues"},"homepage":"https://github.com/aasatech/react-native-alert-notification#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^17.0.1","@types/react-native":"0.66.0","commitlint":"^11.0.0","eslint":"^7.14.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","git-cz":"^4.9.0","husky":"^4.2.5","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"17.0.1","react-native":"0.66.0","react-native-builder-bob":"^0.18.3","react-native-safe-area-context":"^3.2.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":">=0.62.0","react-native-safe-area-context":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":false},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"31c901effd1550b3edbc1026ca8a8a1d9e3c4cc3","_id":"@aasatech/react-native-alert-notification@0.4.3","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ugRJzxFLArDolDx/inpyi5RL7rbwD2Zw14DaKuMF8VZAvwN3ODsBz1okYkBIwjFYhbigaT8BWXScGVi30PUY8g==","shasum":"b03c4c946453b9556b827d6b9cc579360e1fbe91","tarball":"https://registry.npmjs.org/@aasatech/react-native-alert-notification/-/react-native-alert-notification-0.4.3.tgz","fileCount":81,"unpackedSize":262033,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmvVZa5KLCkBkwIf3oN+pHGhO5AueqUToeU2xEk0c6JAiEA6aWtJmOVImqiVZF4FUTwbMrSUMNVIy1MCC6aD3Jloi8="}]},"_npmUser":{"name":"aasatech","email":"choengteurchhoy@gmail.com"},"directories":{},"maintainers":[{"name":"aasatech","email":"choengteurchhoy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-alert-notification_0.4.3_1709021383035_0.15736157410186347"},"_hasShrinkwrap":false},"0.4.4":{"name":"@aasatech/react-native-alert-notification","version":"0.4.4","license":"MIT","description":"Toast notification and dialog box notification for react native","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","commit":"git-cz","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android","alert","notification","dialog box","toast notification","popup","dialog","modal"],"author":{"name":"Rodolphe Jerez","email":"contact@codingbyjerez.com","url":"github.com/codingbyjerez"},"repository":{"type":"git","url":"git+https://github.com/aasatech/react-native-alert-notification.git"},"bugs":{"url":"https://github.com/aasatech/react-native-alert-notification/issues"},"homepage":"https://github.com/aasatech/react-native-alert-notification#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^17.0.1","@types/react-native":"0.66.0","commitlint":"^11.0.0","eslint":"^7.14.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","git-cz":"^4.9.0","husky":"^4.2.5","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"17.0.1","react-native":"0.66.0","react-native-builder-bob":"^0.18.3","react-native-safe-area-context":"^3.2.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":">=0.62.0","react-native-safe-area-context":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":false},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false,"printWidth":160,"endOfLine":"auto","proseWrap":"preserve"},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"31c901effd1550b3edbc1026ca8a8a1d9e3c4cc3","_id":"@aasatech/react-native-alert-notification@0.4.4","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-kgb81o3s6O5oBoeMAh8LKf1MU2m3vjK39ySAGDwvUeNS5qUG6cMQrDtw3tJDf2M/vtt/ydESb22+4LSF/Si0ug==","shasum":"3f7ca7f5a3b411747dea579204e421aabdc3fad2","tarball":"https://registry.npmjs.org/@aasatech/react-native-alert-notification/-/react-native-alert-notification-0.4.4.tgz","fileCount":81,"unpackedSize":262033,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgOVoRVr/r/oh0HYqS+gKvWfdNllZtdiTJgA8vEibMlAiEA4Cy3Pv1oK1PckVqRIN3JGjByj6Uyzo61n2Gf3HKkTdI="}]},"_npmUser":{"name":"aasatech","email":"choengteurchhoy@gmail.com"},"directories":{},"maintainers":[{"name":"aasatech","email":"choengteurchhoy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-alert-notification_0.4.4_1709021491590_0.18386492099422425"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-06T12:43:54.229Z","0.4.0":"2024-01-06T12:43:54.572Z","modified":"2024-02-27T08:11:32.165Z","0.4.1":"2024-02-06T14:10:48.723Z","0.4.2":"2024-02-06T14:38:45.912Z","0.4.3":"2024-02-27T08:09:43.220Z","0.4.4":"2024-02-27T08:11:31.756Z"},"maintainers":[{"name":"aasatech","email":"choengteurchhoy@gmail.com"}],"description":"Toast notification and dialog box notification for react native","homepage":"https://github.com/aasatech/react-native-alert-notification#readme","keywords":["react-native","ios","android","alert","notification","dialog box","toast notification","popup","dialog","modal"],"repository":{"type":"git","url":"git+https://github.com/aasatech/react-native-alert-notification.git"},"author":{"name":"Rodolphe Jerez","email":"contact@codingbyjerez.com","url":"github.com/codingbyjerez"},"bugs":{"url":"https://github.com/aasatech/react-native-alert-notification/issues"},"license":"MIT","readme":"# react-native-alert-notification\n\n## Example Dialog Box\n\n|                                                                             Theme Light                                                                              |                                                                             Theme Dark                                                                             |\n| :------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------: |\n| <img src=\"https://github.com/CodingByJerez/react-native-alert-notification/blob/master/.github/images/dialog-light.gif?raw=true\" height=\"350\" alt=\"Dialogs light\" /> | <img src=\"https://github.com/CodingByJerez/react-native-alert-notification/blob/master/.github/images/dialog-dark.gif?raw=true\" height=\"350\" alt=\"Dialogs Dark\" /> |\n\n## Example Toast Notification\n\n|                                                                            Theme Light                                                                             |                                                                            Theme Dark                                                                            |\n| :----------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: |\n| <img src=\"https://github.com/CodingByJerez/react-native-alert-notification/blob/master/.github/images/toast-light.gif?raw=true\" height=\"350\" alt=\"toasts light\" /> | <img src=\"https://github.com/CodingByJerez/react-native-alert-notification/blob/master/.github/images/toast-dark.gif?raw=true\" height=\"350\" alt=\"toasts Dark\" /> |\n\n## Installation\n\n### - Installing:\n\n```sh\nyarn add react-native-alert-notification\n```\n\n### - Installing dependencies:\n\n- For Native project:\n\n```sh\nyarn add react-native-safe-area-context\n\npod install\n```\n\n- For Expo project:\n\n```sh\nexpo install react-native-safe-area-context\n```\n\n## Usage\n\n```tsx\nimport { ALERT_TYPE, Dialog, AlertNotificationRoot, Toast } from 'react-native-alert-notification';\n\n<AlertNotificationRoot>\n  <View>\n    // dialog box\n    <Button\n      title={'dialog box'}\n      onPress={() =>\n        Dialog.show({\n          type: ALERT_TYPE.SUCCESS,\n          title: 'Success',\n          textBody: 'Congrats! this is dialog box success',\n          button: 'close',\n        })\n      }\n    />\n    // toast notification\n    <Button\n      title={'toast notification'}\n      onPress={() =>\n        Toast.show({\n          type: ALERT_TYPE.SUCCESS,\n          title: 'Success',\n          textBody: 'Congrats! this is toast notification success',\n        })\n      }\n    />\n  </View>\n</AlertNotificationRoot>;\n```\n\n## Documentation:\n\n### Root Component\n\nA React node that will be most likely wrapping your whole app.\n\n| Name         | Description                                  | Require | Default | Type                                                                                                |\n| ------------ | -------------------------------------------- | ------- | ------- | --------------------------------------------------------------------------------------------------- |\n| theme        | select theme light dark (by default is auto) |         | auto    | 'light','dark'                                                                                      |\n| colors       | custom colors                                |         |         | [IColors<light>, IColors<dark>]                                                                     |\n| dialogConfig | config dialog box global                     |         |         | {closeOnOverlayTap:bool, autoClose:bool / number}                                                   |\n| toastConfig  | config toast global                          |         |         | {autoClose:bool / number, titleStyle?: StyleProp<TextStyle> , textBodyStyle?: StyleProp<TextStyle>} |\n\n```ts\ntype IProps = {\n  dialogConfig?: Pick<IConfigDialog, 'closeOnOverlayTap' | 'autoClose'>;\n  toastConfig?: Pick<IConfigToast, 'autoClose' | 'titleStyle' | 'textBodyStyle'>;\n  theme?: 'light' | 'dark';\n  colors?: [IColors, IColors] /** ['light_colors' , 'dark_colors'] */;\n};\ntype IColors = {\n  label: string;\n  card: string;\n  overlay: string;\n  success: string;\n  danger: string;\n  warning: string;\n};\n```\n\n### Dialog Box Component\n\n| Name              | Description                                        | Require | Default | Type                           |\n| ----------------- | -------------------------------------------------- | ------- | ------- | ------------------------------ |\n| title             | The title text                                     |         |         | String                         |\n| type              | Defines the type (\"Success\", \"Warning\" or \"Error\") | true    |         | \"SUCCESS\", \"DANGER\", \"WARNING\" |\n| textBody          | The text body                                      |         |         | String                         |\n| button            | name button (for hide button: undefined)           |         |         | String                         |\n| autoClose         | Defines time auto close dialog box in ms           |         | face    | bool / number                  |\n| closeOnOverlayTap | allow close if click in overlay                    |         | true    | bool                           |\n| onPressButton     | (if not declared and isset button action is close) |         | String  | () => void                     |\n| onShow            | action after end animation open                    |         |         | () => void                     |\n| onHide            | action after end animation close                   |         |         | () => void                     |\n\n```ts\ntype IConfig = {\n  type: ALERT_TYPE;\n  title?: string;\n  textBody?: string;\n  button?: string;\n  autoClose?: number | boolean;\n  closeOnOverlayTap?: boolean;\n  onPressButton?: () => void;\n  onShow?: () => void;\n  onHide?: () => void;\n};\n```\n\n### Toast Notification Component\n\n| Name      | Description                                        | Require | Default | Type                           |\n| --------- | -------------------------------------------------- | ------- | ------- | ------------------------------ |\n| title     | The title text                                     |         |         | String                         |\n| type      | Defines the type (\"Success\", \"Warning\" or \"Error\") |         |         | \"SUCCESS\", \"DANGER\", \"WARNING\" |\n| textBody  | The text body                                      |         |         | String                         |\n| autoClose | Defines time auto close dialog box in ms           |         | 5000    | bool / number                  |\n| onPress   | action click in card                               |         |         | bool                           |\n| onShow    | event after end animation open                     |         |         | () => void                     |\n| onHide    | event after end animation close                    |         |         | () => void                     |\n\n```ts\ntype IConfig = {\n  type?: ALERT_TYPE;\n  title?: string;\n  textBody?: string;\n  autoClose?: number | boolean;\n  titleStyle?: StyleProp<TextStyle>;\n  textBodyStyle?: StyleProp<TextStyle>;\n  onPress?: () => void;\n  onShow?: () => void;\n  onHide?: () => void;\n};\n```\n\n### For Close popup\n\n```ts\n// For Dialog Box\nDialog.hide();\n\n// For Toast Notification\nToast.hide();\n```\n\n## Author\n\nRodolphe Jerez | [https://codingbyjerez.com](https://codingbyjerez.com)\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}