import type { ReactNode } from "react"; import { View, type StyleProp, type ViewStyle } from "react-native"; import { useSafeAreaInsets } from "react-native-safe-area-context"; import { GlassSurface } from "./GlassSurface"; export interface GlassSafeAreaViewProps { readonly leftSlot?: ReactNode; readonly centerSlot?: ReactNode; readonly rightSlot?: ReactNode; readonly style?: StyleProp; } export function GlassSafeAreaView({ leftSlot, centerSlot, rightSlot, style, }: GlassSafeAreaViewProps) { const insets = useSafeAreaInsets(); const headerPaddingTop = insets.top + 16; return ( {leftSlot} {centerSlot} {rightSlot} ); }