Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-media-hook

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-media-hook - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"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 @@ {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc