Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
i'm slow this morning, hope this is clear enough.
  • Loading branch information
modosc committed Sep 14, 2017
1 parent c55a77e commit 0b4d019
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ You may specify an optional `component` property on the `MediaQuery` that indica

### Server rendering

Server rendering can be done by passing static values through the `values` property.
Server rendering can be done by passing static values through the `values` property.

The values property can contain `orientation`, `scan`, `aspectRatio`, `deviceAspectRatio`,
`height`, `deviceHeight`, `width`, `deviceWidth`, `color`, `colorIndex`, `monochrome`,
Expand All @@ -194,6 +194,9 @@ The values property can contain `orientation`, `scan`, `aspectRatio`, `deviceAsp
`type` can be one of: `all`, `grid`, `aural`, `braille`, `handheld`, `print`, `projection`,
`screen`, `tty`, `tv` or `embossed`.

If you are using [redux](http://redux.js.org/) you can automatically pass `width` / `deviceWidth` values to your components with [react-responsive-redux](https://github.com/modosc/react-responsive-redux).


```jsx
var MediaQuery = require('react-responsive');

Expand Down

0 comments on commit 0b4d019

Please sign in to comment.