{"name":"@reach/popover","version":"0.0.1","description":"Render a portal positioned relative to another element.","main":"index.js","module":"es/index.js","scripts":{"test":"echo \"Write some tests you bum!\"","build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"dependencies":{"@reach/portal":"^0.2.1","@reach/rect":"^0.2.1","@reach/utils":"^0.2.3"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"author":"","license":"MIT","_id":"@reach/popover@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-HCD5h7D+qZ78ad0OhTKp3m0JcK5iB3Kp1AJdDofhR5nJEcQfV6UnWiLriFLyJunEmZUUmsSGDkXtDMGOTXL7Dw==","shasum":"653ff11ecc7030cf4e19e62ab0e4f55bb7cd8709","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.0.1.tgz","fileCount":4,"unpackedSize":12484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+XPaCRA9TVsSAnZWagAAPeAP/3UR2wEgwwTDsdjBTV8M\n44AJv/Edp4Xz/8dNfR69O4ngygSUY0273KSw8FB+NIM1NydGlaZ2722OUK0T\nwkFS7al6jFt47iWRFAb1+baQx1KhY6uWHjWnAcugoaQ6qDpAbCQQ1J0KOwVm\nk66lrI99yngJDT9Y2sh7Nv3k/fwkYwcWR0/Z+0PwP04WfdSGlY64p7bfNXz4\nrxeNowZ2edYSPEgdrqhOLD8t5g/5Yi9xWKiYaV8mbjJ94QWadTqwrcZa1GIq\n2LvhIPb6tBWeSBzTFKjzvhuGlAEyGnqlPYXhvCPdoKRj8ApSDreSV++kfW00\ntq2AAivG1auaMPk6utJG8SfrgWnwfTeEhAGzl9dGXCgg9EKFPxSqlB3wxnP9\nWrFg20rZBSvLa+lUi83/VVo0TXyrQJ6NMW4tlONrVvCt0u8RRbnkx4i4IYtP\n65qVbLYRlm0zT1DxWy+YFFbqN1A4J565nE4M9FkWogdkxs6QBYeQeOXi131h\nJXQWqwSxq3ihRXNnDVf48SKgcP3j8OP9ffy97Y+dghidqA9KIAA6r8u6BOvv\nwNFhPMaumONuj/ptKAPNGYczKWT7yxfHhGpIo3/+Ib8Edvup4MPywr0gb1cf\nJGxVoNGIfYVH1FHgB3X61EyPZOUrGeEWQA+to1jxNzZGgdpiWHsIqrAovhdC\n1KI5\r\n=Kor/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCD9IK7X4rJS1Fhwh8nx7EB+sard5bDrzbFhw+H1wtlhwIgMFngVohAxOQ0Kf79n4x76jmhimqlgHmJC2GbK5tTHdU="}],"size":2351,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.0.1.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popover_0.0.1_1559851993957_0.7909108884687757"},"_hasShrinkwrap":false,"readme":"# @reach/popover\n\n[![Stable release](https://img.shields.io/npm/v/@reach/popover.svg)](https://npm.im/@reach/popover) ![MIT license](https://badgen.now.sh/badge/license/MIT)\n\n```jsx\nimport * as React from \"react\";\nimport { Popover, positionDefault } from \"@reach/popover\";\n\nfunction Example() {\n\tconst ref = React.useRef(null);\n\tconst [value, setValue] = React.useState(\"\");\n\treturn (\n\t\t<div>\n\t\t\t<label>\n\t\t\t\t<span>Type for a special message</span>\n\t\t\t\t<input\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tref={ref}\n\t\t\t\t\tonChange={(event) => setValue(event.target.value)}\n\t\t\t\t/>\n\t\t\t</label>\n\n\t\t\t{value.length > 0 && (\n\t\t\t\t<Popover targetRef={ref} position={positionDefault}>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<p>Whoa! Look at me!</p>\n\t\t\t\t\t</div>\n\t\t\t\t</Popover>\n\t\t\t)}\n\t\t</div>\n\t);\n}\n```\n","publish_time":1559851994113,"_cnpm_publish_time":1559851994113,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}