- For a list of all possible shorthands and value types see numbers given as a shorthand will be expanded to px ( will become )
You may also specify a function for the child of the MediaQuery component.
- When the component renders, it is passed whether or not the given media query matches.
- You may specify an optional property on the that indicates what component to wrap children with.
- If the property is not defined and the has more than 1 child, a will be used as the “wrapper” component by default.
- The values property can contain , , , , , , , , , , , and to be matched against the media query.
react-responsive – Media queries in react for responsive design
Continue reading “contra/react-responsive
— Media queries in react for responsive design