diff --git a/package.json b/package.json index f2e82c0..bea2e72 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,6 @@ }, "dependencies": { "@gorhom/portal": "^1.0.3", - "expo-blur": "^9.0.0", - "expo-haptics": "^9.0.0", "lodash.isequal": "^4.5.0", "nanoid": "^3.1.20" }, @@ -75,6 +73,8 @@ "typescript": "~4.0.0" }, "peerDependencies": { + "expo-blur": ">=9.0.0", + "expo-haptics": ">=9.0.0", "react": "*", "react-native": "*", "react-native-gesture-handler": ">=1.8.0", diff --git a/website/docs/getting-started.mdx b/website/docs/getting-started.mdx index 57fbdef..b115a3d 100644 --- a/website/docs/getting-started.mdx +++ b/website/docs/getting-started.mdx @@ -43,7 +43,7 @@ yarn add react-native-hold-menu This library needs these dependencies to be installed in your project before you can use it: ```bash -yarn add react-native-reanimated@2.1.0 react-native-gesture-handler react-native-unimodules +yarn add react-native-reanimated@2.1.0 react-native-gesture-handler react-native-unimodules expo-blur expo-haptics ``` :::info