{"_id":"modal-react-native-web","_rev":"12-5bf286881919d8b0349792114afcaf21","name":"modal-react-native-web","dist-tags":{"latest":"0.2.0","next":"0.1.4-0"},"versions":{"0.1.0":{"name":"modal-react-native-web","version":"0.1.0","description":"React native modal implementation for web","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/rayandrews/react-native-web-modal"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"BABEL_ENV=production babel src -d dist --source-maps --copy-files","build:watch":"yarn build -w","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-runtime":"^6.23.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-minify":"^0.4.3","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","react":"^16.4.1","react-dom":"^16.4.1","react-native-web":"^0.8.6","rimraf":"^2.6.2"},"dependencies":{"babel-runtime":"^6.26.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.0","dist":{"shasum":"e15099d2ffd12b3724af224672144b1d38b5ca97","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.0.tgz","fileCount":9,"unpackedSize":30645,"integrity":"sha512-dK695sQiQ/6GScewSA1ElfG+RMv0F4GQ2hOntFa2oNVqxetjJYBCCjsQK7SXP8KDct83FLMfdHcEYNdSIxBAww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFXaxYBQzXfKkSiKE0IzAVi8S+i7akQ3AU0WrVwllvlgIhAOH5Ap4w1BEJDqjZF6S8L3MhyHL89bQqtn1TFgclMgzS"}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.0_1530897861033_0.6769987696584736"},"_hasShrinkwrap":false},"0.1.1":{"name":"modal-react-native-web","version":"0.1.1","description":"React native modal implementation for web","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/rayandrews/react-native-web-modal"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"BABEL_ENV=production babel src -d dist --source-maps --copy-files","build:watch":"yarn build -w","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-runtime":"^6.23.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-minify":"^0.4.3","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","react":"^16.4.1","react-dom":"^16.4.1","react-native-web":"^0.8.6","rimraf":"^2.6.2"},"dependencies":{"babel-runtime":"^6.26.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.1","dist":{"shasum":"3f5d8aa6d99c23a394bb984264a4439fe5354c07","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.1.tgz","fileCount":9,"unpackedSize":30646,"integrity":"sha512-xj/zo7NQ9ApGwxfERYr/Hgzej9n7i2to+o1A33dUussGaO8N4o+oYSU1De8CL6NQav3aY38ur3lUia5PeOsMAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGqpIgeX8SwdyhlRZjppMixRBKThZj7OqbpwUotMib2AiEAifbC1gf+S0VQRnrE1GDDvwBJ/19YYKOUWyZ2JbVuZn4="}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.1_1530897979183_0.36510999436557867"},"_hasShrinkwrap":false},"0.1.2":{"name":"modal-react-native-web","version":"0.1.2","description":"React native modal implementation for web","main":"dist/cjs/index.js","module":"dist/index.js","repository":{"type":"git","url":"https://github.com/rayandrews/react-native-web-modal"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"yarn clean && yarn build:es5 && yarn build:commonjs","build:es5":"BABEL_ENV=production babel src -d dist --ignore \"**/__tests__\"","build:commonjs":"BABEL_ENV=commonjs babel src -d dist/cjs --ignore \"**/__tests__\"","build:watch":"yarn build -w","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"next","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-react-remove-prop-types":"^0.4.13","babel-polyfill":"^6.26.0","babel-preset-env":"^1.7.0","babel-preset-minify":"^0.4.3","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","react":"^16.4.1","react-dom":"^16.4.1","react-native-web":"^0.8.6","rimraf":"^2.6.2"},"dependencies":{"babel-runtime":"^6.26.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.2","dist":{"shasum":"f68be6ce396b4db18cc62de345e0ea6a5f1a7c2f","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.2.tgz","fileCount":16,"unpackedSize":23035,"integrity":"sha512-IwHJM5xnsdnMwJbdczcAY6RDFWaS5ApMLLKC9ddinm0TUR7p9U3qv+qIDadYumOD7ZaCGY5L9kcNoToqcGId+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOUZy8QgP1AOtN2oC1yVUg4c0PjwX5P41CQ5txy2IhRAiEAjd0DOFuI4AjVcBdTCkM12kOH2Ou30yvWI/9/1RXWn/U="}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.2_1530903856464_0.707469223151387"},"_hasShrinkwrap":false},"0.1.3":{"name":"modal-react-native-web","version":"0.1.3","description":"React native modal implementation for web","main":"dist/cjs/index.js","module":"dist/index.js","repository":{"type":"git","url":"https://github.com/rayandrews/react-native-web-modal"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"sideEffects":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"yarn clean && yarn build:es5 && yarn build:commonjs","build:es5":"BABEL_ENV=production babel src -d dist --ignore \"**/__tests__\"","build:commonjs":"BABEL_ENV=commonjs babel src -d dist/cjs --ignore \"**/__tests__\"","build:watch":"yarn build -w","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"next","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-react-remove-prop-types":"^0.4.13","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","rimraf":"^2.6.2"},"peerDependencies":{"react":"16.x.x","react-art":"16.x.x","react-dom":"16.x.x","react-native-web":"0.7.x"},"licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.3","dist":{"shasum":"c3c1f2f35f6cdfc6ef1ccb80b079190cd05130e2","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.3.tgz","fileCount":16,"unpackedSize":27215,"integrity":"sha512-vkHJTddkRrbJ3Rtct7eZ+6bshpG9mK2eVSSO/mm4HPEPms29qQbCOOtKNg0LgmA9FzNd+JvGLAqPc5LzQ1IMfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3JTC27BtaogXKNGkusEealStT023R+y1+61JeN6nuAgIhAKZUSzla65vH4oc4scyiGu51/xXzsBsf7k/M1gZczeQb"}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.3_1530910826372_0.2999948510861721"},"_hasShrinkwrap":false},"0.1.4-0":{"name":"modal-react-native-web","version":"0.1.4-0","description":"React native modal implementation for web","main":"dist/cjs/index.js","module":"dist/index.js","repository":{"type":"git","url":"https://github.com/rayandrews/react-native-web-modal"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"sideEffects":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"yarn clean && yarn build:es5 && yarn build:commonjs","build:es5":"BABEL_ENV=production babel src -d dist --ignore \"**/__tests__\"","build:commonjs":"BABEL_ENV=commonjs babel src -d dist/cjs --ignore \"**/__tests__\"","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"next","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-react-remove-prop-types":"^0.4.13","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","rimraf":"^2.6.2"},"peerDependencies":{"react":"16.x.x","react-art":"16.x.x","react-dom":"16.x.x","react-native-web":"0.7.x"},"dependencies":{"warning":"^4.0.1"},"readmeFilename":"README.md","readme":"<h1 align=\"center\">\n  <br>\n  React Native Web Modal\n  <br>\n  <br>\n  <a href=\"https://codesandbox.io/s/kxmx8w08jv\">\n    <img alt=\"Edit kxmx8w08jv\" src=\"https://codesandbox.io/static/img/play-codesandbox.svg\">\n  </a>\n</h1>\n\n<p align=\"center\">\n  <br />\n  This repository contains NPM Packages for React Native Modal Implementation for Web\n  <br />\n  <br />\n  <a href=\"https://nodei.co/npm/modal-react-native-web/\"><img src=\"https://nodei.co/npm/modal-react-native-web.png?downloads=true&downloadRank=true&stars=true\" /></a>\n</p>\n\n---\n\n## Inspiration\n\n[React Native Modal](https://facebook.github.io/react-native/docs/modal.html) is not yet implemented in [React Native Web](https://github.com/necolas/react-native-web). This is just replacement of React Native Modal with the same API, behavior, and design.\n\n---\n\n## Setup\n\nThis libraries is available on npm, install it with: `npm install --save modal-react-native-web` or `yarn add modal-react-native-web` for the basic modal.\n\n## Usage\n\nSince react native web modal is an implementation of the original react native modal, it works in similar fashions with [react-native modal](https://facebook.github.io/react-native/docs/modal.html). But of course, some APIs are limited (not all props are suppported).\n\nHere's example code:\n\n```javascript\n\nimport React, { Component } from 'react';\nimport { Text, TouchableHighlight, View } from 'react-native';\n\nimport Modal from 'modal-react-native-web';\n\nexport default class Example extends Component {\n  state = {\n    modalVisible: false,\n  };\n\n  setModalVisible(visible) {\n    this.setState({modalVisible: visible});\n  }\n\n  render() {\n    return (\n      <View style={{marginTop: 22}}>\n        <Modal\n          animationType=\"slide\"\n          transparent={false}\n          visible={this.state.modalVisible}\n          onDismiss={() => {\n            alert('Modal has been closed.');\n          }}>\n          <View style={{marginTop: 22}}>\n            <View>\n              <Text>Hello World!</Text>\n\n              <TouchableHighlight\n                onPress={() => {\n                  this.setModalVisible(!this.state.modalVisible);\n                }}>\n                <Text>Hide Modal</Text>\n              </TouchableHighlight>\n            </View>\n          </View>\n        </Modal>\n\n        <TouchableHighlight\n          onPress={() => {\n            this.setModalVisible(true);\n          }}>\n          <Text>Show Modal</Text>\n        </TouchableHighlight>\n      </View>\n    );\n  }\n}\n```\n\n_Taken from [React Native Modal Example](https://facebook.github.io/react-native/docs/modal.html) with some changes_\n\n---\n\n## Packages\n\n<table width=\"100%\">\n  <tr>\n    <th>&nbsp;</th>\n    <th>\n      <h3><a href=\"https://github.com/rayandrews/react-native-web-modal/tree/master/packages/modal-react-native-web\">React Native Web Modal</a></h3>\n    </th>\n    <th>\n      <h3><a href=\"https://github.com/rayandrews/react-native-web-modal/tree/master/packages/modal-enhanced-react-native-web\">Enhanced Modal React Native Web</a></h3>\n    </th>\n  <tr>\n  <tr>\n    <th align=\"right\">NPM</th>\n    <td align=\"center\">\n      <a href=\"https://nodei.co/npm/modal-react-native-web/\"><img src=\"https://nodei.co/npm/modal-react-native-web.png?downloads=true&downloadRank=true&stars=true\" /></a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://nodei.co/npm/modal-enhanced-react-native-web/\"><img src=\"https://nodei.co/npm/modal-enhanced-react-native-web.png?downloads=true&downloadRank=true&stars=true\" /></a>\n    </td>\n  </tr>\n  <tr>\n    <th align=\"right\">Description</th>\n    <td align=\"center\"><a href=\"\">React Native Modal</a> implemented for Web.<br />\n    Implemented using\n    <a href=\"https://github.com/necolas/react-native-web\">React Native Web Animated</a> and <a href=\"https://reactjs.org/docs/portals.html\">React DOM Portal</a><br />\n    </td>\n    <td align=\"center\"><a href=\"https://github.com/react-native-community/react-native-modal\">Enhanced Version of React Native Modal</a>, <b>implemented</b> for web<br />\n    </td>\n  </tr>\n  <tr>\n    <th align=\"right\">Inspired by</th>\n    <td align=\"center\">\n      <a href=\"https://github.com/kiurchv/react-native-web-modal\">RNW Modal by Kiurchv</a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://github.com/react-native-community/react-native-modal\">React Native Modal by React Native Community</a><br />\n      MIT License by React Native Community</a>\n    </td>\n  </tr>\n  <tr>\n    <th align=\"right\">Not yet supported</th>\n    <td align=\"left\">\n      - onRequestClose<br />\n      - supportedOrientations<br />\n      - hardwareAccelerated<br />\n      - onOrientationChange<br />\n      - presentationStyle<br />\n    </td>\n    <td align=\"center\">-</td>\n  </tr>\n</table>\n\n## Author\n\n* **Ray Andrew** - [Ray Andrew](https://github.com/rayandrews)\n\n## Special Thanks\n\n* **Natan Elia** - [Natan Elia](https://github.com/natanelia)\n* **Louis David** - [Louis David](https://github.com/louvidc)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details","licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.4-0","dist":{"shasum":"e84c918836d7369a1d7162248c51ebfacb3c1147","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.4-0.tgz","fileCount":16,"unpackedSize":33685,"integrity":"sha512-SyV6lMtboRWoJ3RMET4lyoaT928NDcIAr3YEWUDIQWKGk8GGkXdrHHh9SSgy4cEf0C4UspDwYeVoirjWlyYp4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0CUB6K1j5SCAOOkJi7mGGhdLkV0C1QtpAQ2YkLYctTAiBVBZtGVsVPiAl2+zKxzBpKJNONCcKL4Wbf5GzwQ2ht3g=="}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.4-0_1531311137262_0.23503484606451153"},"_hasShrinkwrap":false},"0.1.4":{"name":"modal-react-native-web","version":"0.1.4","description":"React native modal implementation for web","main":"dist/cjs/index.js","module":"dist/index.js","repository":{"type":"git","url":"https://github.com/rayandrews/react-native-web-modal"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"sideEffects":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"yarn clean && yarn build:es5 && yarn build:commonjs","build:es5":"BABEL_ENV=production babel src -d dist --ignore \"**/__tests__\"","build:commonjs":"BABEL_ENV=commonjs babel src -d dist/cjs --ignore \"**/__tests__\"","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"next","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-react-remove-prop-types":"^0.4.13","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","rimraf":"^2.6.2"},"peerDependencies":{"react":"16.x.x","react-art":"16.x.x","react-dom":"16.x.x","react-native-web":"0.7.x"},"dependencies":{"warning":"^4.0.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.4","dist":{"shasum":"ee43b91ed66d831782451b9164fc3560f028df3c","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.4.tgz","fileCount":16,"unpackedSize":33683,"integrity":"sha512-45pOxdZdhkzHjwsbiMiXAfQHUYmnpsb6rAez/eTiduh6QHrJQghJSYUAtJDkcaMHCriSosZQ7MePjacJtJcKfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBhMQ4xvjYvWcZSHmgR2bkUeLSYnLRufN9903mJn3kZGAiEAntEdCrZejEX4VCIrxN9wa5jS54IQqUUmjIHXpdyptlk="}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.4_1531311993946_0.3155144214803389"},"_hasShrinkwrap":false},"0.1.6":{"name":"modal-react-native-web","version":"0.1.6","description":"React native modal implementation for web","main":"dist/cjs/index.js","module":"dist/index.js","repository":{"type":"git","url":"https://github.com/rayandrews/react-native-web-modal"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"sideEffects":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"yarn clean && yarn build:es5 && yarn build:commonjs","build:es5":"BABEL_ENV=production babel src -d dist --ignore \"**/__tests__\"","build:commonjs":"BABEL_ENV=commonjs babel src -d dist/cjs --ignore \"**/__tests__\"","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"next","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-react-remove-prop-types":"^0.4.13","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","rimraf":"^2.6.2"},"peerDependencies":{"react":"16.x.x","react-art":"16.x.x","react-dom":"16.x.x","react-native-web":"0.7.x"},"dependencies":{"warning":"^4.0.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.6","dist":{"shasum":"961cce250c9f40e5739ee529c213763e79a9710e","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.6.tgz","fileCount":16,"unpackedSize":33683,"integrity":"sha512-i1XbRxz0VLOchOW14UH0XjnG2i9uPzS+cyJLLi6FRk+wZMobuuoUesVAido3btJEt2WIXW9dn78n/pGjFlTLCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKq+KbycW8pxWBIgvUSHJQkOGD03257CSgq2j59iYAwAiAg3eO2rL6vbQrAdyNo8UIIcMpa0BlFj9yOl7xZT+8rbg=="}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.6_1531904061481_0.6897787924791523"},"_hasShrinkwrap":false},"0.1.7":{"name":"modal-react-native-web","version":"0.1.7","description":"React native modal implementation for web","main":"dist/cjs/index.js","module":"dist/index.js","repository":{"type":"git","url":"https://github.com/rayandrews/react-native-web-modal"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"sideEffects":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"yarn clean && yarn build:es5 && yarn build:commonjs","build:es5":"BABEL_ENV=production babel src -d dist --ignore \"**/__tests__\"","build:commonjs":"BABEL_ENV=commonjs babel src -d dist/cjs --ignore \"**/__tests__\"","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"next","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-react-remove-prop-types":"^0.4.13","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","rimraf":"^2.6.2"},"peerDependencies":{"react":"16.x.x","react-art":"16.x.x","react-dom":"16.x.x","react-native-web":"0.7.x"},"dependencies":{"warning":"^4.0.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.7","dist":{"shasum":"b7ef8ae620b962cfb302e06dd95e9f8cb865d45f","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.7.tgz","fileCount":16,"unpackedSize":33677,"integrity":"sha512-QQDeKTXzC61Y34F4vrnC3GTsSROErhtnst3Oez1Ng1e3BpOho/Yly7wNKGZz/MMitA7Daw9xtJuTOsYQlhpFYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/gSrCDiDi8rrMDofMI2lJEplllzLJhaQGbv/FMFIMiAiEA1TVkFfmHlksKl67S9lHXhUsMq0a2UT2niIMbpQfjfyg="}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.7_1532521575078_0.9528781832529838"},"_hasShrinkwrap":false},"0.1.9":{"name":"modal-react-native-web","version":"0.1.9","description":"React native modal implementation for web","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/Dekoruma/react-native-web-modal/packages/modal-react-native-web"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"sideEffects":false,"files":["dist"],"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"yarn clean && yarn build:commonjs","build:es5":"BABEL_ENV=production babel src -d dist --ignore \"**/__tests__\"","build:commonjs":"BABEL_ENV=commonjs babel src -d dist --ignore \"**/__tests__\"","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"next","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-react-remove-prop-types":"^0.4.13","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","rimraf":"^2.6.2"},"peerDependencies":{"react":"16.x.x","react-art":"16.x.x","react-dom":"16.x.x","react-native-web":"0.7.x"},"dependencies":{"warning":"^4.0.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.1.9","dist":{"shasum":"a232207d48eac4738eef834ccead31d038620e0d","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.1.9.tgz","fileCount":10,"unpackedSize":20685,"integrity":"sha512-XxM+aJ2sYb30nG2eLhcxpM94NptXwzhh1EVyJRlzULWqrveb1M7yBAhDTrD8knV7Ot0wz5U1TmHLVGb2Dd2/yQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE38SLMqAXk9Ob871qgF/iZD8Ht9dI16K46wgpKSssEZAiBVR3++amjuLFGl8vrWKVqcL+xXD/yK+LXIsOnuM8pnpw=="}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.1.9_1533014938671_0.9945398104484018"},"_hasShrinkwrap":false},"0.2.0":{"name":"modal-react-native-web","version":"0.2.0","description":"React native modal implementation for web","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/Dekoruma/react-native-web-modal/tree/master/packages/modal-react-native-web"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","private":false,"sideEffects":false,"keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"scripts":{"build":"yarn clean && yarn build:commonjs","build:es5":"BABEL_ENV=production babel src -d dist --ignore \"**/__tests__\"","build:commonjs":"BABEL_ENV=commonjs babel src -d dist --ignore \"**/__tests__\"","clean":"rimraf dist"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-add-module-exports":"1.0.0","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-react-remove-prop-types":"^0.4.13","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-react-native":"^4.0.0","babel-preset-stage-0":"^6.24.1","prop-types":"^15.6.2","rimraf":"^2.6.2"},"peerDependencies":{"react":"16.x.x","react-art":"16.x.x","react-dom":"16.x.x","react-native-web":"0.9.x"},"dependencies":{"warning":"^4.0.1"},"gitHead":"56b12d49390d65527acbf2226541ce1f999c5292","licenseText":"MIT License\n\nCopyright (c) 2018 (Ray Andrew)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"modal-react-native-web@0.2.0","dist":{"shasum":"5daaa76213218fd25df739a267b11aed37e8c0c2","integrity":"sha512-sC0/jL3ZL4bGtv1VS43TnrH7/FHUqgb7IU3VYWNDzuR223fYlpG5Gc974GsTP172Vi+lnnBL/G70xONmaggxeQ==","tarball":"https://registry.npmjs.org/modal-react-native-web/-/modal-react-native-web-0.2.0.tgz","fileCount":8,"unpackedSize":20774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzg9bCRA9TVsSAnZWagAAkEoP/jaLBxa2PDhGBK3lYZn8\n3DftADr4/W4ijk+Wi3lmF/5a8QkhRTjIt4DYglaxVVR9drJZzgV3D0C8ia7h\nt2tt6RYdDHoip8GBWN2D6ReHbsfEYq1/ddiwkXLYMZbEcOLq44jaJktqIiA2\nwlqTqb//+ys15djdS9S1ik9EbnDg5WI1IE22UYjRoev78mhKXEVEfhGr+wVt\nmj9ZQSgylGr4DC+2qeo4vSifq+pzbx0JZj30krPgIyZvX2Rlb9iCXuEr6ojp\nJmk565+myQXhBbEW8mJ8k1uSCwzIuav235/Rf93buIThgBNG644FDeV24cb1\nvTQyGaQ2HosjK3Oe7NYPCTSMRnWv+Rh0Hr9efEzs9IMero0oPkEeJYQ0cmq7\nsNfi8Uej+npZmiw+4vypzqWGyuVshUPs8iIuJKcKVvVK72SX52LCIIHODCTr\nVRZ94Qjx8gyYMduWqzINoNREfvrG7FEXLQJTanWUpOUxnq7NSLiKlXVxMgGj\nHJJ4l1LgSjzpRupxfQzEUuBcq4drdxSj4zK2xaXwq+F2Vyd1mqj7UAUV0u6y\nSh1MNCANhqpqo3Ft8jX4sYEfPYYgrhBAd6pj36UwVjRdaJIP9KnXVNfGepsg\nw1K007Uboua7lOYQb37WK8EcRVZu9NBvGExj6Xk4n+MZqnAfF5QfhkksLP+I\nDkuL\r\n=tGSj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCToXxUMK5TiUUPv1DrPiwRjofxmE19EH9kNpYTdt2UAiEAlZ4RgMbsPCmzpgMd+V4vSgJK6aw7wYTV06QC6yVX6oY="}]},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"_npmUser":{"name":"rayandrew","email":"raydreww@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal-react-native-web_0.2.0_1540231002530_0.48276190689324383"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-06T17:24:21.033Z","0.1.0":"2018-07-06T17:24:21.149Z","modified":"2022-06-20T02:40:21.140Z","0.1.1":"2018-07-06T17:26:19.351Z","0.1.2":"2018-07-06T19:04:16.518Z","0.1.3":"2018-07-06T21:00:26.434Z","0.1.4-0":"2018-07-11T12:12:17.323Z","0.1.4":"2018-07-11T12:26:34.031Z","0.1.6":"2018-07-18T08:54:21.550Z","0.1.7":"2018-07-25T12:26:15.266Z","0.1.9":"2018-07-31T05:28:58.813Z","0.2.0":"2018-10-22T17:56:42.667Z"},"maintainers":[{"name":"rayandrew","email":"raydreww@gmail.com"}],"description":"React native modal implementation for web","keywords":["react","react-native","react-native-web","modal","animation","react-native-animatable"],"repository":{"type":"git","url":"https://github.com/Dekoruma/react-native-web-modal/tree/master/packages/modal-react-native-web"},"author":{"name":"Ray Andrew","email":"raydreww@gmail.com"},"license":"MIT","readme":"<h1 align=\"center\">\n  <br>\n  React Native Web Modal\n  <br>\n  <br>\n  <a href=\"https://codesandbox.io/s/kxmx8w08jv\">\n    <img alt=\"Edit kxmx8w08jv\" src=\"https://codesandbox.io/static/img/play-codesandbox.svg\">\n  </a>\n</h1>\n\n<p align=\"center\">\n  <br />\n  This repository contains NPM Packages for React Native Modal Implementation for Web\n  <br />\n  <br />\n  <a href=\"https://nodei.co/npm/modal-react-native-web/\"><img src=\"https://nodei.co/npm/modal-react-native-web.png?downloads=true&downloadRank=true&stars=true\" /></a>\n</p>\n\n---\n\n## Inspiration\n\n[React Native Modal](https://facebook.github.io/react-native/docs/modal.html) is not yet implemented in [React Native Web](https://github.com/necolas/react-native-web). This is just replacement of React Native Modal with the same API, behavior, and design.\n\n---\n\n## Setup\n\nThis libraries is available on npm, install it with: `npm install --save modal-react-native-web` or `yarn add modal-react-native-web` for the basic modal.\n\n## Usage\n\nSince react native web modal is an implementation of the original react native modal, it works in similar fashions with [react-native modal](https://facebook.github.io/react-native/docs/modal.html). But of course, some APIs are limited (not all props are suppported).\n\nHere's example code:\n\n```javascript\n\nimport React, { Component } from 'react';\nimport { Text, TouchableHighlight, View } from 'react-native';\n\nimport Modal from 'modal-react-native-web';\n\nexport default class Example extends Component {\n  state = {\n    modalVisible: false,\n  };\n\n  setModalVisible(visible) {\n    this.setState({modalVisible: visible});\n  }\n\n  render() {\n    return (\n      <View style={{marginTop: 22}}>\n        <Modal\n          animationType=\"slide\"\n          transparent={false}\n          visible={this.state.modalVisible}\n          onDismiss={() => {\n            alert('Modal has been closed.');\n          }}>\n          <View style={{marginTop: 22}}>\n            <View>\n              <Text>Hello World!</Text>\n\n              <TouchableHighlight\n                onPress={() => {\n                  this.setModalVisible(!this.state.modalVisible);\n                }}>\n                <Text>Hide Modal</Text>\n              </TouchableHighlight>\n            </View>\n          </View>\n        </Modal>\n\n        <TouchableHighlight\n          onPress={() => {\n            this.setModalVisible(true);\n          }}>\n          <Text>Show Modal</Text>\n        </TouchableHighlight>\n      </View>\n    );\n  }\n}\n```\n\n_Taken from [React Native Modal Example](https://facebook.github.io/react-native/docs/modal.html) with some changes_\n\n---\n\n## Packages\n\n<table width=\"100%\">\n  <tr>\n    <th>&nbsp;</th>\n    <th>\n      <h3><a href=\"https://github.com/rayandrews/react-native-web-modal/tree/master/packages/modal-react-native-web\">React Native Web Modal</a></h3>\n    </th>\n    <th>\n      <h3><a href=\"https://github.com/rayandrews/react-native-web-modal/tree/master/packages/modal-enhanced-react-native-web\">Enhanced Modal React Native Web</a></h3>\n    </th>\n  <tr>\n  <tr>\n    <th align=\"right\">NPM</th>\n    <td align=\"center\">\n      <a href=\"https://nodei.co/npm/modal-react-native-web/\"><img src=\"https://nodei.co/npm/modal-react-native-web.png?downloads=true&downloadRank=true&stars=true\" /></a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://nodei.co/npm/modal-enhanced-react-native-web/\"><img src=\"https://nodei.co/npm/modal-enhanced-react-native-web.png?downloads=true&downloadRank=true&stars=true\" /></a>\n    </td>\n  </tr>\n  <tr>\n    <th align=\"right\">Description</th>\n    <td align=\"center\"><a href=\"\">React Native Modal</a> implemented for Web.<br />\n    Implemented using\n    <a href=\"https://github.com/necolas/react-native-web\">React Native Web Animated</a> and <a href=\"https://reactjs.org/docs/portals.html\">React DOM Portal</a><br />\n    </td>\n    <td align=\"center\"><a href=\"https://github.com/react-native-community/react-native-modal\">Enhanced Version of React Native Modal</a>, <b>implemented</b> for web<br />\n    </td>\n  </tr>\n  <tr>\n    <th align=\"right\">Inspired by</th>\n    <td align=\"center\">\n      <a href=\"https://github.com/kiurchv/react-native-web-modal\">RNW Modal by Kiurchv</a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://github.com/react-native-community/react-native-modal\">React Native Modal by React Native Community</a><br />\n      MIT License by React Native Community</a>\n    </td>\n  </tr>\n  <tr>\n    <th align=\"right\">Not yet supported</th>\n    <td align=\"left\">\n      - onRequestClose<br />\n      - supportedOrientations<br />\n      - hardwareAccelerated<br />\n      - onOrientationChange<br />\n      - presentationStyle<br />\n    </td>\n    <td align=\"center\">-</td>\n  </tr>\n</table>\n\n## Author\n\n* **Ray Andrew** - [Ray Andrew](https://github.com/rayandrews)\n\n## Special Thanks\n\n* **Natan Elia** - [Natan Elia](https://github.com/natanelia)\n* **Louis David** - [Louis David](https://github.com/louvidc)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details","readmeFilename":"README.md"}