import * as React from 'react';
import { View, Text, StatusBar } from 'react-native';
// import { SafeAreaProvider, useSafeArea } from 'react-native-safe-area-context'; in your app.
import {
SafeAreaProvider,
useSafeArea,
initialWindowSafeAreaInsets,
} from '../src';
const Screen = () => {
const insets = useSafeArea();
return (
<>
Insets: {JSON.stringify(insets, null, 2)}
Initial insets:{' '}
{JSON.stringify(initialWindowSafeAreaInsets, null, 2)}
>
);
};
export default function App() {
return (
);
}