react-dismiss 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A tiny React hook for dismissing UI when users interact outside or press Escape.
4
4
 
5
+ **[Live Demo on CodeSandbox](https://codesandbox.io/s/xzwc87)**
6
+
5
7
  ## Installation
6
8
 
7
9
  ```bash
@@ -97,5 +99,6 @@ Ships with built-in TypeScript declarations and generics (`dist/index.d.ts`), no
97
99
 
98
100
  ## Links
99
101
 
102
+ - **Live Demo**: [codesandbox.io/s/xzwc87](https://codesandbox.io/s/xzwc87)
100
103
  - **npm**: [npmjs.com/package/react-dismiss](https://www.npmjs.com/package/react-dismiss)
101
104
  - **GitHub**: [github.com/parasraju/react-dismiss](https://github.com/parasraju/react-dismiss)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dismiss",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A tiny React hook for dismissing UI when users interact outside or press Escape.",
5
5
  "keywords": [
6
6
  "react",
@@ -11,7 +11,9 @@
11
11
  "popover",
12
12
  "dropdown",
13
13
  "modal",
14
- "typescript"
14
+ "typescript",
15
+ "click-away",
16
+ "useClickAway"
15
17
  ],
16
18
  "license": "MIT",
17
19
  "author": "",