viskan-deku-media-query
v1.0.7
Published
Media query component for Deku
Downloads
9
Readme
deku-media-query
Media query component for Deku
Install
$ npm install --save deku-media-query
Usage
import MediaQuery from 'deku-media-query';
const render = () => {
return (
<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};