{"_id":"react-native-modal-popover","_rev":"620872","name":"react-native-modal-popover","description":"Pure JS popover component for react-native","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"time":{"modified":"2021-08-24T13:15:47.000Z","created":"2017-06-18T18:42:52.826Z","2.1.0":"2021-08-24T13:13:02.708Z","2.0.1":"2021-06-04T04:12:35.073Z","2.0.0":"2021-04-25T09:10:57.908Z","1.0.0":"2020-11-22T10:06:59.445Z","0.0.12":"2018-10-14T07:24:16.413Z","0.0.11":"2018-09-14T15:49:21.412Z","0.0.10":"2018-05-14T06:18:10.191Z","0.0.9":"2018-05-14T06:13:09.174Z","0.0.8":"2018-05-12T13:12:20.509Z","0.0.7":"2018-03-31T08:50:24.446Z","0.0.6":"2018-03-04T19:10:37.369Z","0.0.5":"2018-01-23T11:41:40.473Z","0.0.4":"2018-01-23T11:16:05.560Z","0.0.3":"2017-11-12T14:11:28.398Z","0.0.2":"2017-06-27T18:42:10.834Z","0.0.1":"2017-06-18T18:42:52.826Z"},"users":{},"author":{"name":"Konstantin Kuznetsov"},"repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"versions":{"2.1.0":{"name":"react-native-modal-popover","version":"2.1.0","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"lib/index.d.ts","react-native":"src/index.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"clean":"rm -rf ./build/*","build":"tsc","watch":"tsc --watch","prepublishOnly":"yarn lint && yarn build","lint":"eslint .","semantic-release":"semantic-release","prepare":"husky install"},"devDependencies":{"@commitlint/config-conventional":"^13.1.0","@react-native-community/eslint-config":"^3.0.0","@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/lodash":"^4.14.172","@types/prop-types":"^15.7.4","@types/react":"^17.0.19","@types/react-native":"^0.64.13","@typescript-eslint/eslint-plugin":"^4.29.3","@typescript-eslint/parser":"^4.29.3","commitlint":"^13.1.0","eslint":"^7.32.0","husky":"^7.0.0","prettier":"^2.3.2","pretty-quick":"^3.1.1","react":"^17.0.2","react-native":"^0.65.1","semantic-release":"^17.4.6","typescript":"^4.3.5"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"lodash":"^4.17.21","prop-types":"^15.7.2"},"gitHead":"ee371e14eb9caf56fea9c4246be503d2cba4e780","_id":"react-native-modal-popover@2.1.0","_nodeVersion":"12.22.5","_npmVersion":"7.21.0","dist":{"shasum":"45a2060012796f29184e6c41b787f14336d3b435","size":19532,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-2.1.0.tgz"},"_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"directories":{},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_2.1.0_1629810782555_0.708944219262184"},"_hasShrinkwrap":false,"publish_time":1629810782708,"_cnpm_publish_time":1629810782708},"2.0.1":{"name":"react-native-modal-popover","version":"2.0.1","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"lib/index.d.ts","react-native":"src/index.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"clean":"rm -rf ./build/*","build":"tsc","watch":"tsc --watch","prepublishOnly":"yarn lint && yarn build","lint":"eslint .","semantic-release":"semantic-release"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/lodash":"^4.14.165","@types/prop-types":"^15.7.3","@types/react":"^17.0.0","@types/react-native":"^0.63.36","@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","commitlint":"^11.0.0","eslint":"^7.14.0","husky":"^4.3.0","prettier":"^2.2.0","pretty-quick":"^3.1.0","react":"^17.0.1","react-native":"^0.63.3","semantic-release":"^17.2.4","typescript":"^4.1.2"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"lodash":"^4.17.20","prop-types":"^15.7.2"},"gitHead":"f96bc49bf277865ae9016e03ac744f88c73e62d1","_id":"react-native-modal-popover@2.0.1","_nodeVersion":"12.22.1","_npmVersion":"6.14.9","dist":{"shasum":"119fb04606a205ffff41fc56666ea4c0cc833aa6","size":18463,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-2.0.1.tgz"},"_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"directories":{},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_2.0.1_1622779954924_0.3994265432136983"},"_hasShrinkwrap":false,"publish_time":1622779955073,"_cnpm_publish_time":1622779955073},"2.0.0":{"name":"react-native-modal-popover","version":"2.0.0","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"lib/index.d.ts","react-native":"src/index.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"clean":"rm -rf ./build/*","build":"tsc","watch":"tsc --watch","prepublishOnly":"yarn lint && yarn build","lint":"eslint .","semantic-release":"semantic-release"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/lodash":"^4.14.165","@types/prop-types":"^15.7.3","@types/react":"^17.0.0","@types/react-native":"^0.63.36","@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","commitlint":"^11.0.0","eslint":"^7.14.0","husky":"^4.3.0","prettier":"^2.2.0","pretty-quick":"^3.1.0","react":"^17.0.1","react-native":"^0.63.3","semantic-release":"^17.2.4","typescript":"^4.1.2"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"lodash":"^4.17.20","prop-types":"^15.7.2"},"gitHead":"935da31a4b9ec05299b1987e5338bd369abd941f","_id":"react-native-modal-popover@2.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.9","dist":{"shasum":"b0e620147fe37f52bc366d5008641001ac555d4e","size":18123,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-2.0.0.tgz"},"_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"directories":{},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_2.0.0_1619341857770_0.17070189643889866"},"_hasShrinkwrap":false,"publish_time":1619341857908,"_cnpm_publish_time":1619341857908},"1.0.0":{"name":"react-native-modal-popover","version":"1.0.0","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"lib/index.d.ts","react-native":"src/index.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"clean":"rm -rf ./build/*","build":"tsc","watch":"tsc --watch","prepublishOnly":"yarn lint && yarn build","lint":"eslint .","semantic-release":"semantic-release"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/lodash":"^4.14.165","@types/prop-types":"^15.7.3","@types/react":"^17.0.0","@types/react-native":"^0.63.36","@typescript-eslint/eslint-plugin":"^4.8.1","@typescript-eslint/parser":"^4.8.1","commitlint":"^11.0.0","eslint":"^7.14.0","husky":"^4.3.0","prettier":"^2.2.0","pretty-quick":"^3.1.0","react":"^17.0.1","react-native":"^0.63.3","semantic-release":"^17.2.4","typescript":"^4.1.2"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"lodash":"^4.17.20","prop-types":"^15.7.2"},"gitHead":"9734255814321beff531cdbc6bfccebf07e9952e","_id":"react-native-modal-popover@1.0.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.9","dist":{"shasum":"167eccce4377235f7a1f7d1e3a8faeafb8966875","size":17323,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-1.0.0.tgz"},"_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"directories":{},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_1.0.0_1606039619267_0.24212381096834812"},"_hasShrinkwrap":false,"publish_time":1606039619445,"_cnpm_publish_time":1606039619445},"0.0.12":{"name":"react-native-modal-popover","version":"0.0.12","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile","tsc:watch":"yarn run tsc --watch"},"devDependencies":{"@types/lodash":"^4.14.116","@types/lodash.debounce":"^4.0.4","@types/react":"^16.4.14","@types/react-native":"^0.57.6","tslint":"^5.11.0","tslint-eslint-rules":"^5.4.0","tslint-react":"^3.6.0","typescript":"^3.0.3"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"@types/prop-types":"^15.5.5","lodash.debounce":"^4.0.8","prop-types":"^15.6.2"},"gitHead":"06e7c19c1b769603d3338a0bb824acbbe15f0ad3","_id":"react-native-modal-popover@0.0.12","_npmVersion":"6.4.0","_nodeVersion":"8.11.4","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"5c0b5e9e0323490c3c5867821fc94b6582bfa3dc","size":13624,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.12.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_0.0.12_1539501856276_0.6150146691573883"},"_hasShrinkwrap":false,"publish_time":1539501856413,"_cnpm_publish_time":1539501856413},"0.0.11":{"name":"react-native-modal-popover","version":"0.0.11","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile","tsc:watch":"yarn run tsc --watch"},"devDependencies":{"@types/lodash":"^4.14.116","@types/lodash.debounce":"^4.0.4","@types/react":"^16.4.14","@types/react-native":"^0.56.18","tslint":"^5.11.0","tslint-eslint-rules":"^5.4.0","tslint-react":"^3.6.0","typescript":"^3.0.3"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"@types/prop-types":"^15.5.5","lodash.debounce":"^4.0.8","prop-types":"^15.6.2"},"licenseText":"MIT License\n\nCopyright (c) 2017 Konstantin Kuznetsov\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"react-native-modal-popover@0.0.11","dist":{"shasum":"5eff07479f3858180dd0b2d675fd523a8a4d2115","size":13569,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.11.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_0.0.11_1536940161246_0.6637024256254032"},"_hasShrinkwrap":false,"publish_time":1536940161412,"_cnpm_publish_time":1536940161412},"0.0.10":{"name":"react-native-modal-popover","version":"0.0.10","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile","tsc:watch":"yarn run tsc --watch"},"devDependencies":{"@types/lodash":"^4.14.85","@types/lodash.debounce":"^4.0.3","@types/react":"^16.0.22","@types/react-native":"^0.50.2","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.2.0","typescript":"^2.6.1"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"@types/prop-types":"^15.5.2","lodash.debounce":"^4.0.8","prop-types":"^15.6.0"},"gitHead":"3e14a183857b0fe55db7b3bc33cb0602b8c45885","_id":"react-native-modal-popover@0.0.10","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"89271eb45f6c3f83702669378c6af97f0c258711","size":18757,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.10.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_0.0.10_1526278690076_0.38882046531698267"},"_hasShrinkwrap":false,"publish_time":1526278690191,"_cnpm_publish_time":1526278690191},"0.0.9":{"name":"react-native-modal-popover","version":"0.0.9","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile","tsc:watch":"yarn run tsc --watch"},"devDependencies":{"@types/lodash":"^4.14.85","@types/lodash.debounce":"^4.0.3","@types/react":"^16.0.22","@types/react-native":"^0.50.2","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.2.0","typescript":"^2.6.1"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"@types/prop-types":"^15.5.2","lodash.debounce":"^4.0.8","prop-types":"^15.6.0"},"gitHead":"d3c7e590fcc1d60d8e8ffc1d906a48c5b8b709ee","_id":"react-native-modal-popover@0.0.9","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"5bbf73333b26ed36797cc9f9cfb6702c995cca8e","size":13447,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.9.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_0.0.9_1526278388474_0.08576524535645258"},"_hasShrinkwrap":false,"publish_time":1526278389174,"_cnpm_publish_time":1526278389174},"0.0.8":{"name":"react-native-modal-popover","version":"0.0.8","description":"Pure JS popover component for react-native","main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile","tsc:watch":"yarn run tsc --watch"},"devDependencies":{"@types/lodash":"^4.14.85","@types/lodash.debounce":"^4.0.3","@types/react":"^16.0.22","@types/react-native":"^0.50.2","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.2.0","typescript":"^2.6.1"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"@types/prop-types":"^15.5.2","lodash.debounce":"^4.0.8","prop-types":"^15.6.0"},"gitHead":"5045c9076eedf0417cf4d66be7c2fdf419fecd84","_id":"react-native-modal-popover@0.0.8","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"2fde0693d35f3f87f2086f7cba6db479a95581f2","size":13427,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.8.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_0.0.8_1526130740399_0.10648900304916942"},"_hasShrinkwrap":false,"publish_time":1526130740509,"_cnpm_publish_time":1526130740509},"0.0.7":{"name":"react-native-modal-popover","version":"0.0.7","description":"Pure JS popover component for react-native","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile","tsc:watch":"yarn run tsc --watch"},"devDependencies":{"@types/lodash":"^4.14.85","@types/lodash.debounce":"^4.0.3","@types/react":"^16.0.22","@types/react-native":"^0.50.2","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.2.0","typescript":"^2.6.1"},"peerDependencies":{"react":">16.0.0","react-native":">0.50.0"},"dependencies":{"@types/prop-types":"^15.5.2","lodash.debounce":"^4.0.8","prop-types":"^15.6.0"},"gitHead":"5045c9076eedf0417cf4d66be7c2fdf419fecd84","_id":"react-native-modal-popover@0.0.7","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"46d46a781d5e287b52a228029276e4cd877d5254","size":13474,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.7.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_0.0.7_1522486224336_0.8869508726052593"},"_hasShrinkwrap":false,"publish_time":1522486224446,"_cnpm_publish_time":1522486224446},"0.0.6":{"name":"react-native-modal-popover","version":"0.0.6","description":"Pure JS popover component for react-native","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile","tsc:watch":"yarn run tsc --watch"},"devDependencies":{"@types/lodash":"^4.14.85","@types/lodash.debounce":"^4.0.3","@types/react":"^16.0.22","@types/react-native":"^0.50.2","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.2.0","typescript":"^2.6.1"},"peerDependencies":{"react":">16.2.0","react-native":">0.52.0"},"dependencies":{"@types/prop-types":"^15.5.2","lodash.debounce":"^4.0.8","prop-types":"^15.6.0"},"gitHead":"f53fb6bf166b28af2d2700b25dfb938620640648","_id":"react-native-modal-popover@0.0.6","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"711d50df224c6e1389242c15735e4f2e77f40a45","size":11952,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.6.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover_0.0.6_1520190637196_0.10784963922903024"},"_hasShrinkwrap":false,"publish_time":1520190637369,"_cnpm_publish_time":1520190637369},"0.0.5":{"name":"react-native-modal-popover","version":"0.0.5","description":"Pure JS popover component for react-native","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile"},"devDependencies":{"@types/lodash":"^4.14.85","@types/lodash.debounce":"^4.0.3","@types/react":"^16.0.22","@types/react-native":"^0.50.2","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.2.0","typescript":"^2.6.1"},"peerDependencies":{"react":">16.2.0","react-native":">0.52.0"},"dependencies":{"@types/prop-types":"^15.5.2","lodash.debounce":"^4.0.8","prop-types":"^15.6.0"},"gitHead":"f24f0527d8b277c54ea25aba66345c87a7757e6b","_id":"react-native-modal-popover@0.0.5","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"91bd923ca4f6db23a1a77f156915eb480323a5ec","size":10823,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.5.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover-0.0.5.tgz_1516707699512_0.781434295931831"},"directories":{},"publish_time":1516707700473,"_cnpm_publish_time":1516707700473,"_hasShrinkwrap":false},"0.0.4":{"name":"react-native-modal-popover","version":"0.0.4","description":"Pure JS popover component for react-native","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile"},"devDependencies":{"@types/lodash":"^4.14.85","@types/lodash.debounce":"^4.0.3","@types/react":"^16.0.22","@types/react-native":"^0.50.2","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.2.0","typescript":"^2.6.1"},"peerDependencies":{"react":">16.2.0","react-native":">0.52.0"},"dependencies":{"@types/prop-types":"^15.5.2","lodash.debounce":"^4.0.8","prop-types":"^15.6.0"},"gitHead":"1da996b699a44a9062a02ce39b89c241d005fea3","_id":"react-native-modal-popover@0.0.4","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"01919d19b703fb189bae241c4bd8ac2e3d595a6a","size":10618,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.4.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover-0.0.4.tgz_1516706164513_0.6237970301881433"},"directories":{},"publish_time":1516706165560,"_hasShrinkwrap":false,"_cnpm_publish_time":1516706165560},"0.0.3":{"name":"react-native-modal-popover","version":"0.0.3","description":"Pure JS popover component for react-native","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile"},"devDependencies":{"@types/lodash":"^4.14.85","@types/lodash.debounce":"^4.0.3","@types/react":"^16.0.22","@types/react-native":"^0.50.2","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.2.0","typescript":"^2.6.1"},"peerDependencies":{"react":"^15.6.1","react-native":"^0.45.1"},"dependencies":{"@types/prop-types":"^15.5.2","lodash.debounce":"^4.0.8","prop-types":"^15.6.0"},"gitHead":"e1072bc225b9f048756fc972a537dade6c6d3bca","_id":"react-native-modal-popover@0.0.3","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"980e1d95956549e15eda4998ec8bbea917eccb89","size":10855,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.3.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover-0.0.3.tgz_1510495887465_0.7996338333468884"},"directories":{},"publish_time":1510495888398,"_hasShrinkwrap":false,"_cnpm_publish_time":1510495888398},"0.0.2":{"name":"react-native-modal-popover","version":"0.0.2","description":"Pure JS popover component for react-native","main":"build/index.js","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile"},"devDependencies":{"@types/lodash":"^4.14.67","@types/lodash.debounce":"^4.0.2","@types/react":"^15.0.33","@types/react-native":"^0.44.13","tslint":"^5.4.3","tslint-eslint-rules":"^4.1.1","tslint-react":"^3.0.0","typescript":"^2.3.4"},"peerDependencies":{"react":"^15.6.1","react-native":"^0.45.1"},"dependencies":{"@types/prop-types":"^15.5.1","lodash.debounce":"^4.0.8","prop-types":"^15.5.10"},"gitHead":"71e8b0844767a04aee78b3180fe4a75216328cf5","_id":"react-native-modal-popover@0.0.2","_shasum":"4efab735947b9e1a03afcc534fb716877349d3be","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"4efab735947b9e1a03afcc534fb716877349d3be","size":10872,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.2.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover-0.0.2.tgz_1498588929959_0.43010586593300104"},"directories":{},"publish_time":1498588930834,"_hasShrinkwrap":false,"_cnpm_publish_time":1498588930834},"0.0.1":{"name":"react-native-modal-popover","version":"0.0.1","description":"Pure JS popover component for react-native","main":"build/index.js","repository":{"type":"git","url":"git+https://github.com/doomsower/react-native-modal-popover.git"},"keywords":["react","react-native","popover","modal"],"author":{"name":"Konstantin Kuznetsov"},"license":"MIT","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","scripts":{"compile":"rm -rf ./build/* && tsc","prepublish":"yarn run compile"},"devDependencies":{"@types/lodash":"^4.14.66","@types/lodash.debounce":"^4.0.2","@types/react":"^15.0.29","@types/react-native":"^0.44.11","tslint":"^5.4.3","tslint-config-airbnb":"^5.1.2","tslint-react":"^3.0.0","typescript":"^2.3.4"},"peerDependencies":{"react":"^15.6.1","react-native":"^0.45.1"},"dependencies":{"@types/prop-types":"^15.5.1","lodash.debounce":"^4.0.8","prop-types":"^15.5.10"},"gitHead":"ea641f0184b49915683a5d5b015a3fcc258ec4eb","_id":"react-native-modal-popover@0.0.1","_shasum":"42bedd38e8a1baad6fbaaf5a30919f7d62f27750","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"doomsower","email":"fish.munga@yandex.ru"},"dist":{"shasum":"42bedd38e8a1baad6fbaaf5a30919f7d62f27750","size":10792,"noattachment":false,"key":"/react-native-modal-popover/-/react-native-modal-popover-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-native-modal-popover/download/react-native-modal-popover-0.0.1.tgz"},"maintainers":[{"name":"doomsower","email":"fish.munga@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-modal-popover-0.0.1.tgz_1497811371922_0.7027120164129883"},"directories":{},"publish_time":1497811372826,"_hasShrinkwrap":false,"_cnpm_publish_time":1497811372826}},"readme":"# react-native-modal-popover\n\nPure JS popover component for react-native\n\n![Android](https://raw.githubusercontent.com/doomsower/react-native-modal-popover/master/gifs/android.gif)\n![iOS](https://raw.githubusercontent.com/doomsower/react-native-modal-popover/master/gifs/ios.gif)\n\n## About this module\n\nThe original [react-native-popover](https://github.com/jeanregisser/react-native-popover) is now outdated,\nso I decided to publish my own module to avoid using github url in my package.json. Something got lost in\nthe process of rewriting, but now it uses `Modal` and native animation drivers, and also has cool helper\nto use with Touchables. Thanks to @jeanregisser and to the authors of hanging PRs for their code.\n\n## Requirements\n\nPreviously (version `0.0.6`) this module required react version `>16.2.0` to work (which corresponds to react-native version `>0.52.0`).\n\nVersion `0.0.7` does not reqire `React.Fragment` anymore, so you can use with reasonably old versions of react and react-native.\n\n## Install\n\n```sh\nyarn add react-native-modal-popover\n```\n\n## Usage\n\nThis module exports two react components, `Popover` and `PopoverController`, and one react hook, `usePopover`.\n`Popover` works pretty much like original `Popover`, and `PopoverController` is a convenience component that uses [React Render Props](https://github.com/jaredpalmer/awesome-react-render-props) pattern.\n\n**Important** this example uses `React.Fragment` to wrap children, but if you use `react-native` version older than `0.52`, then you should reaplce `React.Fragment` with `View`\n\n### Using hook\n\n`usePopover` is preferred modern way to have popover in your app.\n\n```jsx\nimport React from 'react';\nimport { Button, StyleSheet, Text, View } from 'react-native';\nimport { Popover, usePopover } from 'react-native-modal-popover';\n\nconst styles = StyleSheet.create({\n  app: {\n    ...StyleSheet.absoluteFillObject,\n    alignItems: 'center',\n    justifyContent: 'center',\n    backgroundColor: '#c2ffd2',\n  },\n  content: {\n    padding: 16,\n    backgroundColor: 'pink',\n    borderRadius: 8,\n  },\n  arrow: {\n    borderTopColor: 'pink',\n  },\n  background: {\n    backgroundColor: 'rgba(0, 0, 255, 0.5)',\n  },\n});\n\nconst App = () => {\n  const {\n    openPopover,\n    closePopover,\n    popoverVisible,\n    touchableRef,\n    popoverAnchorRect,\n  } = usePopover();\n  return (\n    <View style={styles.app}>\n      <Button title=\"Press me!\" ref={touchableRef} onPress={openPopover} />\n      <Popover\n        contentStyle={styles.content}\n        arrowStyle={styles.arrow}\n        backgroundStyle={styles.background}\n        visible={popoverVisible}\n        onClose={closePopover}\n        fromRect={popoverAnchorRect}\n        supportedOrientations={['portrait', 'landscape']}>\n        <Text>Hello from inside popover!</Text>\n      </Popover>\n    </View>\n  );\n};\n\nexport default App;\n```\n\n### Using PopoverController\n\nUse `PopoverController` if you cannot use hooks for some reason.\n\n```jsx\nimport React from 'react';\nimport { Button, StyleSheet, Text, View } from 'react-native';\nimport { Popover, PopoverController } from 'react-native-modal-popover';\n\nconst styles = StyleSheet.create({\n  app: {\n    ...StyleSheet.absoluteFillObject,\n    alignItems: 'center',\n    justifyContent: 'center',\n    backgroundColor: '#c2ffd2',\n  },\n  content: {\n    padding: 16,\n    backgroundColor: 'pink',\n    borderRadius: 8,\n  },\n  arrow: {\n    borderTopColor: 'pink',\n  },\n  background: {\n    backgroundColor: 'rgba(0, 0, 255, 0.5)',\n  },\n});\n\nconst App = () => (\n  <View style={styles.app}>\n    <PopoverController>\n      {({\n        openPopover,\n        closePopover,\n        popoverVisible,\n        setPopoverAnchor,\n        popoverAnchorRect,\n      }) => (\n        <React.Fragment>\n          <Button\n            title=\"Press me!\"\n            ref={setPopoverAnchor}\n            onPress={openPopover}\n          />\n          <Popover\n            contentStyle={styles.content}\n            arrowStyle={styles.arrow}\n            backgroundStyle={styles.background}\n            visible={popoverVisible}\n            onClose={closePopover}\n            fromRect={popoverAnchorRect}\n            supportedOrientations={['portrait', 'landscape']}>\n            <Text>Hello from inside popover!</Text>\n          </Popover>\n        </React.Fragment>\n      )}\n    </PopoverController>\n  </View>\n);\n\nexport default App;\n```\n\n## Props\n\n### `Popover`\n\n| Prop                  | Type                                                                                                | Optional | Default                                                                     | Description                                                                                                                                                                                                                                           |\n| --------------------- | --------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| visible               | bool                                                                                                | Yes      | false                                                                       | Show/Hide the popover                                                                                                                                                                                                                                 |\n| fromRect              | Rect                                                                                                | No\\*     |                                                                             | Rectangle at which to anchor the popover. **Optional** when used inside `PopoverTouchable`, **required** when used standalone. If you set this property, you should also change it when screen orientation changes.                                   |\n| displayArea           | Rect                                                                                                | Yes      | Screen - 10px padding                                                       | Area where the popover is allowed to be displayed. **Important note:** if you use non-default value here and you want to handle screen orientation changes, it is your responsibility to change this value when screen orientation changes.           |\n| placement             | string                                                                                              | Yes      | 'auto'                                                                      | How to position the popover - top &#124; bottom &#124; start &#124; end &#124; auto. When 'auto' is specified, it will determine the ideal placement so that the popover is fully visible within `displayArea`.                                       |\n| onClose               | function                                                                                            | Yes      |                                                                             | Callback to be fired when the user closes the popover                                                                                                                                                                                                 |\n| onDismiss             | function                                                                                            | Yes      |                                                                             | Callback to be fired after the popup closes                                                                                                                                                                                                           |\n| backgroundStyle       | ViewStyle                                                                                           | Yes      |                                                                             | Custom style to be applied to background overlay                                                                                                                                                                                                      |\n| contentStyle          | ViewStyle                                                                                           | Yes      |                                                                             | Custom style to be applied to popover reactangle. Use it to set round corners, background color, etc.                                                                                                                                                 |\n| arrowStyle            | ViewStyle                                                                                           | Yes      |                                                                             | Custom style to be applied to popover arrow. Use `borderTopColor` to match content backgroundColor                                                                                                                                                    |\n| duration              | number                                                                                              | Yes      | 300                                                                         | Animation duration                                                                                                                                                                                                                                    |\n| easing                | (show: boolean) => (value: number) => number                                                        | Yes      | show => show ? Easing.out(Easing.back(1.70158)) : Easing.inOut(Easing.quad) | Function that returns easing function for show or hide animation, depending on `show` argument                                                                                                                                                        |\n| useNativeDriver       | bool                                                                                                | Yes      | false                                                                       | Defines if animations should use native driver                                                                                                                                                                                                        |\n| supportedOrientations | array of enum('portrait', 'portrait-upside-down', 'landscape', 'landscape-left', 'landscape-right') | Yes      |                                                                             | This prop is passed to react-native `Modal`, see [react-native docs](https://facebook.github.io/react-native/docs/modal.html#supportedorientations). Set this to `['portrait', 'landscape']` if you want your popover to resprect screen orientation. |\n| calculateStatusBar    | bool                                                                                                | Yes      | false                                                                       | Defines if while use status bar height while calculating \"Y\" origin of anchor.                                                                                                                                                                        |\n\n### `PopoverController` and `usePopover` hook\n\n`PopoverController` accepts function as children. This function is called with one argument of type `PopoverControllerRenderProps` and returns react element. The children of this element are your UI handle to open popover (`Button`, `Toggle`, whatever) and `Popover` element itself. Pass properties to you handle and `Popover`, and `PopoverController` will make them work together behind the scenes. All the props are required to make controller work.\n\n`usePopover` returns object with same props as `PopoverControllerRenderProps`, except that ref has different name: `touchableRef`.\n\n#### `PopoverControllerRenderProps`:\n\n| Prop                                                                 | Type         | Description                                                                                                                                                                                                                                                          |\n| -------------------------------------------------------------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| openPopover                                                          | () => void   | Call this function when you want to open popover, e.g. pass to `onPress` of a `Button`                                                                                                                                                                               |\n| closePopover                                                         | () => void   | Call this function when you want to close popover. Typically you pass this as `onClose` prop of `Popover`, which will make popover close when tapped outside. If you have a button inside popover which should close the popover, pass this function to this button. |\n| popoverVisible                                                       | boolean      | Pass this to `visible` prop of `Popover` component                                                                                                                                                                                                                   |\n| setPopoverAnchor (`PopoverController`) / touchableRef (`usePopover`) | ref function | Pass this as `ref` to popover UI handle. This will bind popover display position to the position of this UI handle.                                                                                                                                                  |\n| popoverAnchorRect                                                    | Rect         | Pass this as `fromRect` prop of `Popover` component                                                                                                                                                                                                                  |\n\n### `Rect`\n\nRect is an object with the following properties: `{x: number, y: number, width: number, height: number}`\n\n## Using without `PopoverController`\n\nIn this case you have to handle refs, measure UI handle and manage popover visibility manually:\n\n```jsx\nimport React from 'react';\nimport {\n  findNodeHandle,\n  NativeModules,\n  StyleSheet,\n  Text,\n  View,\n} from 'react-native';\nimport Button from './Button';\nimport Popover from './popover';\n\nconst styles = StyleSheet.create({\n  app: {\n    ...StyleSheet.absoluteFillObject,\n    padding: 10,\n    backgroundColor: '#c2ffd2',\n    alignItems: 'center',\n  },\n});\n\nexport default class App2 extends React.Component {\n  state = {\n    showPopover: false,\n    popoverAnchor: { x: 0, y: 0, width: 0, height: 0 },\n  };\n\n  setButton = (e) => {\n    const handle = findNodeHandle(this.button);\n    if (handle) {\n      NativeModules.UIManager.measure(handle, (x0, y0, width, height, x, y) => {\n        this.setState({ popoverAnchor: { x, y, width, height } });\n      });\n    }\n  };\n\n  openPopover = () => {\n    this.setState({ showPopover: true });\n  };\n\n  closePopover = () => this.setState({ showPopover: false });\n\n  render() {\n    return (\n      <View style={styles.app}>\n        <Button\n          ref={(r) => {\n            this.button = r;\n          }}\n          icon=\"arrow-up\"\n          onPress={this.openPopover}\n          onLayout={this.setButton}\n        />\n        <Popover\n          visible={this.state.showPopover}\n          fromRect={this.state.popoverAnchor}\n          onClose={this.closePopover}\n          placement=\"bottom\">\n          <Text>Hi</Text>\n        </Popover>\n      </View>\n    );\n  }\n}\n```\n\n## Contributing\n\nIf you want to add some features, feel free to submit PR.\n","_attachments":{},"homepage":"https://github.com/doomsower/react-native-modal-popover#readme","bugs":{"url":"https://github.com/doomsower/react-native-modal-popover/issues"},"license":"MIT"}