Skip to content

Instantly share code, notes, and snippets.

@jepser
Created May 28, 2019 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jepser/1c564d60230d2b24f30eca24c5596f36 to your computer and use it in GitHub Desktop.
Save jepser/1c564d60230d2b24f30eca24c5596f36 to your computer and use it in GitHub Desktop.
<MatchMedia query={BREAKPOINTS.md}>
 { matches => matches ? <UseThis /> : <UseOther /> }
</MatchMedia>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment