react-media-hook
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "react-media-hook", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "React Hook for media query", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -42,3 +42,4 @@ # react-media-hook | ||
#### `useMedia(query: string)` | ||
Returns *undefined*, or object: | ||
Returns *undefined* (for example, in Node.js environment | ||
where *mathMedia* is not defined), or object: | ||
```javascript | ||
@@ -45,0 +46,0 @@ { |
6969
49