{"_id":"@burstware/react-native-portal","_rev":"7-372874cc70e73299daf191b0ccbce40a","time":{"1.0.0":"2020-03-19T03:35:34.960Z","created":"2020-03-19T03:37:09.039Z","1.0.1":"2020-03-19T03:37:09.375Z","modified":"2022-04-04T21:08:08.638Z","1.0.2":"2020-03-19T15:52:05.331Z"},"name":"@burstware/react-native-portal","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@burstware/react-native-portal","publishConfig":{"access":"public"},"version":"1.0.1","description":"Render a component anywhere on the DOM","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 0","lint":"eslint --ignore-path .gitignore . --ignore-path .eslintrc . --ignore-path .eslintignore .","lint:fix":"eslint --fix --ignore-path .gitignore . --ignore-path .eslintignore .","build":"babel src --out-dir build --copy-files"},"repository":{"type":"git","url":"git+https://github.com/burstware/react-native-portal.git"},"keywords":["react-native","portal"],"author":{"name":"Jordan Baczuk"},"license":"MIT","bugs":{"url":"https://github.com/burstware/react-native-portal/issues"},"homepage":"https://github.com/burstware/react-native-portal#readme","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/preset-env":"^7.8.7","@babel/preset-react":"^7.8.3","babel-eslint":"^10.0.3","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.19.0","eslint-plugin-standard":"^4.0.1"},"gitHead":"d902ff00c74b5488fabcc542c66f8ecf0100fe33","_id":"@burstware/react-native-portal@1.0.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-KAJI1CE4c1i/gvkvpr6Gtxp2qr8i37Az9WxkImi9e2qaN+uLDpUTiQ05EmRqbqijxHS9Dy4wa6lYWWCCyV1ppA==","shasum":"b935c343657c4c1302f837c34cd87e1bcaa1c093","tarball":"https://registry.npmjs.org/@burstware/react-native-portal/-/react-native-portal-1.0.1.tgz","fileCount":17,"unpackedSize":37240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecujlCRA9TVsSAnZWagAALx8P/iNDT0RWwrWVu3KSUccZ\nazvmUUHd6OT5+FtIg0maie09l07FS5rTvREr766oPJfE+riHtcIJ8Ux6/eUS\nd0CEkYH6ktlREiKLLPrB5W3GrtnvXUhze+Y8YU3KTWuDVfip0UuLtGySyl+O\ntudM6BM8n11kYSrtYw20WAfgvRJ3mFJS9FE62NeFqcVQJ076oEnT5xEZhDYs\nPp3SzobUwwo3TvzZYZl8uxQH2+VPOyNB37iiiPX5q6txkEUtl61IbFgo+TFi\nR3xzFF7E053rwl5FBwfKz3iSFGVXwcEMGc1u3kMkom8PjEs6FWJsGn67aaOM\nCw/V+gK01perAMKWysmDLBIKAr/+avHPCtiui2zeTOTgfHUKH8YtmOiwkcyV\naPTz8sbx/RDVq1bPe3OscMdFnQxRCfvkpJqAgMkbvNzn11b5zWe776vT8HvI\nxczI1zFx4bIgsC23eGfkWlu2NgpSWr5HKZo0WX9zUw4ruqe62DScgtvE13K5\n8inAz7KzmY9v44hH1+HmBemgPasqNL/kjSxSvpimcjiAzJSbNVwcOadWTeZc\niCOTs3aP82d/OXBcSZlqJzjWChYwzjMQv7l3iZ7QoGkHyksIcZ0fxEkYHzLg\nKg8QLzDOcUT94SSIDGW7wZHXtY0F/4upUygU0xyrWjLNRERBzg8eOlN1yf1h\nv/Iv\r\n=ph8s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF56VvYwkDzHlB92MsUash+JKgiPWEVw11Jnlo+AVx2fAiEAg22CwfUMrl7u3Y1eAAD8sTffIi8Xjya8vMNyUZammeg="}]},"maintainers":[{"name":"jbaczuk","email":"Jordan.Baczuk@gmail.com"}],"_npmUser":{"name":"jbaczuk","email":"Jordan.Baczuk@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-portal_1.0.1_1584589029221_0.9383222432742842"},"_hasShrinkwrap":false},"1.0.2":{"name":"@burstware/react-native-portal","publishConfig":{"access":"public"},"version":"1.0.2","description":"Render a component anywhere on the DOM","main":"build/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 0","lint":"eslint --ignore-path .gitignore . --ignore-path .eslintrc . --ignore-path .eslintignore .","lint:fix":"eslint --fix --ignore-path .gitignore . --ignore-path .eslintignore .","build":"babel src --out-dir build --copy-files"},"repository":{"type":"git","url":"git+https://github.com/burstware/react-native-portal.git"},"keywords":["react-native","portal"],"author":{"name":"Jordan Baczuk"},"license":"MIT","bugs":{"url":"https://github.com/burstware/react-native-portal/issues"},"homepage":"https://github.com/burstware/react-native-portal#readme","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/preset-env":"^7.8.7","@babel/preset-react":"^7.8.3","babel-eslint":"^10.0.3","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.20.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.19.0","eslint-plugin-standard":"^4.0.1"},"gitHead":"3046f9bf990f47f2d4b527c1f25b8e53da3ab719","_id":"@burstware/react-native-portal@1.0.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-PWGV5hJJzd0xU55SnznAvqegfvZGkk5kq8uQ1NY3sOsCbWvV/KdvjUJfC6wTEn4a+d1nTMlMsTJt1JBHXoTFyw==","shasum":"0408e40c9c76b30bfd9ef8d06740cd1aef46c86a","tarball":"https://registry.npmjs.org/@burstware/react-native-portal/-/react-native-portal-1.0.2.tgz","fileCount":17,"unpackedSize":37245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec5UlCRA9TVsSAnZWagAAj4sP/jyJnGjNWxNRd9C4XlyK\nUsAaWNaQJecs6Ld0oiVsdjJmozMa6vOl/UFbHbkRdn4XaK2617V3IR+5Z28y\nG4vm/PPPLDhMYMTjMjoEx3nngTPmQyDPYrkAqtuApj+8fawY/fA31GPj9MVh\nBs2nMSuaR97j2Qnl67tYGhRWQvbJg+NhNJqcaGKTT0mWe0fdaADp/g0bRlFs\ndnzUmJ0xUXmzgjnsyDEvP+sJsr3wPSZaswX68u3r4pM7R5Wd3gogi3myVEDD\ntIExu2MWC567MLvMqRelmEc3FmT1/sXFblpEUbqSS7pTE0SqQPTLd8ertP5Z\nEMidj9vAYTxcTcZE1JTjhkut0M0bjefivzp2nLdO/N0hvX7I3Ru6pZdi2CaU\n+7SK0K6fvGfMlCRZTJh/ZsgB1iQwMI7Kf6tQBpnU4YLibAg7lylnREl8k0cA\nplgJPvbC3tXVoyxsudU09QKf+o2vquIGMIDzQmjPcfS4FmvSymzUNXTo+0NM\nrg1QSQk/S1YDdMMLoTyxWVxIjT6NAPJMcxnnYQ5P5wG/jOrVdz1gNsU8vDGv\nGuCw0oUwoQKkFtGkvrLJnDtNVLE7LNZDeNi1fUmbuKyXnLQzSO6CxomfIc2z\nBbXt6wLUEbnHp7s3WEaV4Xs59I28d+82+JhKpceb8NjOG49YdAbZJhV3iXd/\nT8Ni\r\n=NWfl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeETSEWiAntKe3gOYLLq/RDfnxjmAhJEjOGXsPeWYAiAIgeFh4LWMtM08bLhihzImseuYhEuHXF2nOG/HA6NfQKfE="}]},"maintainers":[{"name":"jbaczuk","email":"Jordan.Baczuk@gmail.com"}],"_npmUser":{"name":"jbaczuk","email":"Jordan.Baczuk@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-portal_1.0.2_1584633125230_0.2456084503539977"},"_hasShrinkwrap":false}},"maintainers":[{"email":"Jordan.Baczuk@gmail.com","name":"jbaczuk"}],"description":"Render a component anywhere on the DOM","homepage":"https://github.com/burstware/react-native-portal#readme","keywords":["react-native","portal"],"repository":{"type":"git","url":"git+https://github.com/burstware/react-native-portal.git"},"author":{"name":"Jordan Baczuk"},"bugs":{"url":"https://github.com/burstware/react-native-portal/issues"},"license":"MIT","readme":"# React Native Portal [![Build Status](https://travis-ci.com/burstware/react-native-portal.svg?token=29qnEeDFvpCBmjssZsMZ&branch=master)](https://travis-ci.com/burstware/react-native-portal) [![Coverage](https://img.shields.io/badge/coverage-0%25-red)](https://www.npmjs.org/@burstware/react-native-portal)\n\n[<img src=\"https://s3-us-west-2.amazonaws.com/burstware.com/img/burstware+horizontal.png\" width=\"50%\" />](https://burstware.com)\n\n[![NPM](https://img.shields.io/badge/npm-1.0.2-blue)](https://www.npmjs.org/@burstware/react-native-portal)\n\nReact Native Portal\n\nRender a component anywhere. Anything inside a `<Portal>` component will be rendered on an ancestor `<Portal.Host>` component.\n\n## Installation\n```bash\nnpm i --save @burstware/react-native-portal\n```\n\n## Usage\n```\nimport React from 'react'\nimport { View, Text, StyleSheet } from 'react-native'\nimport Portal from '@burstware/react-native-portal'\n\nfunction Test (props) {\n  return (\n    <View style={[StyleSheet.absoluteFill, { alignItems: 'center', backgroundColor: 'blue' }]}>\n      <Portal.Host>\n        <View style={{ width: '75%', height: '100%' }}>\n          <Portal>\n            <View style={{ width: '100%', height: '100%', backgroundColor: 'white' }}>\n              <Text>This should be on top</Text>\n            </View>\n          </Portal>\n        </View>\n      </Portal.Host>\n    </View>\n  )\n}\n```\n\n## Documentation\n```bash\nnpm start\n```\n","readmeFilename":"README.md"}