diff --git a/README.md b/README.md index e053d27..0c797af 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,21 @@ const BasicScreen = () => { ); }; ``` +### React Native Gesture Handler + +To avoid issues when using the React Native Portal with React Native Gesture Handler, you must place the `PortalProvider` under the `GestureHandlerRootView`, otherwise it might freeze your app. + +```tsx +export const App = () => ( + + + {... your app goes here} + + +); +``` + +> Read more about the [app freezing issue](https://github.com/gorhom/react-native-portal/issues/24). ## Props @@ -227,5 +242,10 @@ To keep this library maintained and up-to-date please consider [sponsoring it on ---

-Mo Gorhom + + Mo Gorhom + + + Mo Gorhom +

diff --git a/mogorhom-dark.png b/mogorhom-dark.png new file mode 100644 index 0000000..f3fe7bc Binary files /dev/null and b/mogorhom-dark.png differ diff --git a/mogorhom.png b/mogorhom-light.png similarity index 100% rename from mogorhom.png rename to mogorhom-light.png