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