👋 Welcome to
@expo/match-media in your project.
yarn add @expo/match-media
Import the polyfill at the top of your file before using the
import '@expo/match-media'; // use the match media API
What this does
- In the browser: Nothing
- In React Native apps: Polyfills the
matchMediaAPI so you can use awesome libraries like
The Expo source code is made available under the MIT license. Some of the dependencies are licensed differently, with the BSD license, for example.