0.1.1 • Published 4 years ago

window-size-rendering v0.1.1

Weekly downloads
8
License
-
Repository
-
Last release
4 years ago

About

React library for rendering components based on screen window size.

Example usage

<MediaSizeRender  minWidth={1024}  component={<p>desktop and up</p>} />

<MediaSizeRender  minWidth={768}  maxWidth={1024}  component={<p>tablet only</p>} />

<MediaSizeRender  maxWidth={1024}  component={<p>tablet and lower</p>} />