We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a670f7 commit b704a67Copy full SHA for b704a67
example/src/App.tsx
@@ -18,7 +18,7 @@ import {
18
} from 'react-native';
19
import {
20
SafeAreaProvider,
21
- useSafeAreaInsets,
+ SafeAreaView,
22
} from 'react-native-safe-area-context';
23
24
import RNSketchCanvas, {
@@ -1076,7 +1076,9 @@ function AppWrapper() {
1076
return (
1077
<SafeAreaProvider>
1078
<StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} />
1079
- <ExampleApp />
+ <SafeAreaView style={{ flex: 1 }} edges={['top', 'bottom']}>
1080
+ <ExampleApp />
1081
+ </SafeAreaView>
1082
</SafeAreaProvider>
1083
);
1084
}
0 commit comments