{"name":"@reach/popover","version":"0.0.0","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.2"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"author":"","license":"MIT","_id":"@reach/popover@0.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-vOCcr3IFYrPdkFd8T3aNiIkeMzBtzv6Ud0xpBiCxudG0OnTiHrsO8hgfS9KTZKIlwP9/5B08Vp6DzsmmVvPDGw==","shasum":"ce05d27fad5f72211c27b88d19cde72f3f6d96e2","tarball":"http://registry-npm.ywwl.com/@reach/popover/download/@reach/popover-0.0.0.tgz","fileCount":4,"unpackedSize":12400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5FI5CRA9TVsSAnZWagAAJrYP/1GlyEiYLLKlK+bN7u2s\n6k+BDpTo1uE+L7qZXiuwJvRsxIhzAq9FT7TI2PgMGgCTbXB924O3HAnO92lf\n1ILvdvLK+8tOhPlvzS15dfIgSp7NkJKJWE+AmaHVfh7o88svqDHlP7eAwb+C\nnkwQarsZySktLlphkscUdyZLYb+X6KFKgGD9WzmTBtjoSQRyxFUWx94RnwFy\ngtEvOJV3QRut9sxorndacoWvzXqzwd7ftmnESZ30t8X7caIU8tS3zIiOo65p\nyCsY1EwQe4b/pa97p+pdoj/dXZMnWQKBx8OIYUV+kXDVMK+A9E5svbqyIHyI\n6Jq2063LnEvZQeIFUuYoSZV8Ii6WKtdZsAOBboqIMdWTHE7kzyNFVKrG7ddP\nJHVv1PfLD0s/Qzrj3q07AlrsfB7BVJtfKMaN/w/n0/g089GfiiHsvNkonYQk\nuBCQOd7yORJ1mMnQgzTwC3fP6PxuaacYHWRFHsDiwbolX7/c4XS7mzltHlqZ\nihtRkqN06Tg0Po4EURrP1A9/jQgMWs2BtjUvs21y5RCf2Rk6aYfx66XkxkxC\nDrulWP+GrpEvPF+VRRMdPOt05Sjss2ImKVCCLbLl5A9mWB6LoYUj2H3oOkOo\nZftaNhmIcSML8zBxRaBZWVHkGdXq1e+e82cT13l5SHM2JfAzPIQQwIzYGLLo\nRH6m\r\n=tWSg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZstcTHtI22Cwk6jpMyn/nbHhq/jp8E93GxhvliF1ahQIhAKZALjxA0TvL6vC18xRCe4LOBhrv1c5y5w9TOsk6AfrO"}],"size":2339,"noattachment":false,"key":"/@reach/popover/-/@reach/popover-0.0.0.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popover_0.0.0_1558467128640_0.11372015569016636"},"_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":1558467128786,"_cnpm_publish_time":1558467128786,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}