Skip to content

Commit c2d29b3

Browse files
authored
Merge pull request #8 from imdevan/783-fillipe-pr
Looks good, just made react-native-safe-area-context a peerDependency
2 parents 17cc712 + 39a6ccc commit c2d29b3

File tree

5 files changed

+32
-20
lines changed

5 files changed

+32
-20
lines changed

examples/package-lock.json

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212
"dependencies": {
1313
"@expo/webpack-config": "^19.0.0",
1414
"expo": "^49.0.13",
15+
"expo-splash-screen": "~0.20.5",
1516
"expo-status-bar": "~1.6.0",
1617
"react": "18.2.0",
1718
"react-dom": "18.2.0",
1819
"react-native": "0.72.5",
1920
"react-native-dropdown-picker": "file:../",
2021
"react-native-gesture-handler": "^2.28.0",
2122
"react-native-reanimated": "^4.1.2",
22-
"react-native-web": "~0.19.6",
23-
"expo-splash-screen": "~0.20.5"
23+
"react-native-safe-area-context": "^5.6.1",
24+
"react-native-web": "~0.19.6"
2425
},
2526
"devDependencies": {
2627
"@babel/core": "^7.23.0",

package-lock.json

Lines changed: 12 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"peerDependencies": {
6767
"react": "*",
6868
"react-native": "*",
69-
"react-native-gesture-handler": "*"
69+
"react-native-gesture-handler": "*",
70+
"react-native-safe-area-context": "*"
7071
}
7172
}

src/components/Picker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ import {
1616
Image,
1717
Modal,
1818
Platform,
19-
SafeAreaView,
2019
StyleSheet,
2120
Text,
2221
TextInput,
2322
TouchableOpacity,
2423
View,
2524
} from 'react-native';
2625

26+
import { SafeAreaView } from 'react-native-safe-area-context';
27+
2728
import { FlatList, ScrollView } from 'react-native-gesture-handler';
2829
import {
2930
ASCII_CODE,

0 commit comments

Comments
 (0)