qmedia
v0.1.2
Published
React component for adaptive components
Downloads
3
Maintainers
Readme
React component <QMedia>
for render depending on width screen.
Example:
<QMedia query='>960' render={() => <App {...props} />}/>
In example above App component will be render only if width of screen bigger or equal 960 px.
<QMedia query='<960' render={() => <App {...props} />}/>
In this example your component will be render only if width of screen smaller 960 px
Supports IE8+.