UNPKG

use-dom-outside-click

Version:

react hook to handle outside click on elements

47 lines (46 loc) 1.13 kB
{ "name": "use-dom-outside-click", "version": "1.2.1", "description": "react hook to handle outside click on elements", "scripts": { "rollup": "rollup -c" }, "repository": { "type": "git", "url": "git+https://github.com/amendezm/use-outside-click.git" }, "keywords": [ "react", "hook", "outside", "click", "event" ], "author": "amendezm", "license": "ISC", "bugs": { "url": "https://github.com/amendezm/use-outside-click/issues" }, "homepage": "https://github.com/amendezm/use-outside-click#readme", "devDependencies": { "@rollup/plugin-commonjs": "^24.0.0", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-terser": "^0.3.0", "@rollup/plugin-typescript": "^11.0.0", "@types/react": "^18.0.26", "rollup": "^3.10.0", "rollup-plugin-dts": "^5.1.1", "rollup-plugin-peer-deps-external": "^2.2.4", "tslib": "^2.4.1", "typescript": "^4.9.4" }, "peerDependencies": { "react": "^18.2.0" }, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "files": [ "dist" ], "types": "dist/index.d.ts" }