react-media
react-media copied to clipboard
query and queries prop
Attribute queries for <Media/> is not working in 1.8.0 version. I can use query only. If i pass query object e.g. { small: "...media query...", medium: "...media query..."} (as given in documentation), it throws an error. When pass queries, query prop is still undefined and throws an error.
Same here, really looking forward to a solution for this.