Skip to content

LunatiqueCoder/expo-pointer-events-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👆 expo-pointer-events-plugin

Expo platforms GitHub npm

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

🔧 Installation

Yarn:

yarn add expo-pointer-events-plugin

NPM:

npm install --save expo-pointer-events-plugin

🎛 Setup

  1. Add it to your plugins in your app.json file:
{
  "expo": {
    "plugins": [
      [
        "expo-pointer-events-plugin",
      ]
    ]
  }
}
  1. Run npx expo prebuild
  2. Run yarn ios or yarn android

📃 License

📃 This project is released under the MIT License.
💻 By contributing, you agree that your contributions will be licensed under its MIT License.

About

Expo Plugin to enable pointer events on iOS and Android. Useful if you want to try React Strict DOM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published