import { StatusBar } from 'expo-status-bar'; import { Platform, StyleSheet, useWindowDimensions } from 'react-native'; import EditScreenInfo from '@/components/EditScreenInfo'; import { Text, View } from '@/components/Themed'; import { clampContentWidth, isIPadLike } from '@/src/utils/device'; export default function ModalScreen() { const { width, height } = useWindowDimensions(); const isTablet = isIPadLike(width, height); const contentWidth = isTablet ? clampContentWidth(width, 700, 24) : undefined; return ( Modal {/* Use a light status bar on iOS to account for the black space above the modal */} ); } const styles = StyleSheet.create({ container: { flex: 1, alignItems: 'center', justifyContent: 'center', width: '100%', alignSelf: 'stretch', }, contentWrap: { width: '100%', alignItems: 'center', }, title: { fontSize: 20, fontWeight: 'bold', }, separator: { marginVertical: 30, height: 1, width: '80%', }, });