Enable pointer events with Expo.
It's mostly useful if you want to try out React Strict DOM with Expo.
🔗 Read more: https://reactnative.dev/blog/2022/12/13/pointer-events-in-react-native
yarn add expo-pointer-events-plugin
npm install --save expo-pointer-events-plugin
- Add it to your
plugins
in yourapp.json
file:
{
"expo": {
"plugins": [
[
"expo-pointer-events-plugin",
]
]
}
}
- Run
npx expo prebuild
- Run
yarn ios
oryarn android
📃 This project is released under the MIT License.
💻 By contributing, you agree that your contributions will be licensed under its MIT License.