import React from "react"; import type { EdgeInsets, Rect } from "react-native-safe-area-context"; import { SafeAreaProvider } from "react-native-safe-area-context"; interface MockSafeAreaProviderProps { readonly children: React.ReactNode; readonly frame?: Rect; readonly insets?: EdgeInsets; } export function MockSafeAreaProvider({ frame, insets, children, }: MockSafeAreaProviderProps) { const initialFrame: Rect = { x: 0, y: 0, width: 0, height: 0 }; const initialInsets: EdgeInsets = { bottom: 50, top: 50, left: 0, right: 0 }; return ( {children} ); }