Skip to content

Commit dc36a6f

Browse files
committed
Fix Platform API example
Fix SafeAreaView style
1 parent 0db29c1 commit dc36a6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/platform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {SafeAreaView, SafeAreaProvider} from 'react-native-safe-area-context';
1313
const App = () => {
1414
return (
1515
<SafeAreaProvider>
16-
<SafeAreaView>
16+
<SafeAreaView style={{ flex: 1 }}>
1717
<ScrollView contentContainerStyle={styles.container}>
1818
<Text>OS</Text>
1919
<Text style={styles.value}>{Platform.OS}</Text>

0 commit comments

Comments
 (0)