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

react-match-mq

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-match-mq - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "react-match-mq",
"version": "0.0.1",
"version": "0.0.2",
"description": "Simple media query matching component",

@@ -5,0 +5,0 @@ "main": "media.js",

@@ -7,5 +7,15 @@ # Simple media query matching component

### Usage:
>npm i --save react-match-mq
OR
>yarn add react-match-mq
Simple `true`/`false` rendering.
```js
import { Media } from 'react-match-mq';
...
<Media query={"(min-width: 1024px)"}>

@@ -12,0 +22,0 @@ {matches =>

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