🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

deku-media-query

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deku-media-query

Media query component for Deku

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
2
Created
Source

deku-media-query Build Status

Media query component for Deku

Install

$ npm install deku-media-query

Usage

import MediaQuery from 'deku-media-query';

const render = () => (
	<MediaQuery query='(min-width: 1280px)' class='Unicorn'>
		<div><img src='cat.jpg' alt=''/></div>
		<div><img src='unicorn.jpg' alt=''/></div>
	</MediaQuery>
);

export default {render};

License

MIT © Kevin Mårtensson

Keywords

deku

FAQs

Package last updated on 28 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts