|
@@ -143,12 +143,10 @@ If you are doing server side rendering on the web you can use `initialSafeAreaIn
|
143
|
143
|
|
144
|
144
|
To speed up the initial render, you can import `initialWindowSafeAreaInsets` from this package and set as the `initialSafeAreaInsets` prop on the provider as described in Web SSR. You cannot do this if your provider remounts, or you are using `react-native-navigation`.
|
145
|
145
|
|
146
|
|
-Only supported on iOS at the moment.
|
147
|
|
-
|
148
|
146
|
```js
|
149
|
147
|
import {
|
150
|
148
|
SafeAreaProvider,
|
151
|
|
- initialWindowSafeAreaInsets,
|
|
149
|
+ initialWindowSafeAreaInsets
|
152
|
150
|
} from 'react-native-safe-area-context';
|
153
|
151
|
|
154
|
152
|
function App() {
|