import * as React from 'react'; import { View, Text, StatusBar, ScrollView } from 'react-native'; import { SafeAreaProvider, useSafeAreaInsets, initialWindowMetrics, useSafeAreaFrame, } from 'react-native-safe-area-context'; const DataView = ({ data }: { data: object | null | undefined }) => ( {data == null ? 'null' : Object.entries(data) .map(([key, value]) => `${key}: ${value}`) .join('\n')} ); const Card = ({ title, children, }: { title: string; children: React.ReactNode; }) => ( {title} {children} ); const BORDER_WIDTH = 8; function SimpleExampleScreen() { const insets = useSafeAreaInsets(); const frame = useSafeAreaFrame(); return ( <> ); } export default function SimpleExample() { return ( ); }