import * as WebBrowser from 'expo-web-browser'; import { StyleSheet, TouchableOpacity } from 'react-native'; import Colors from '../constants/Colors'; import { MonoText } from './StyledText'; import { Text, View } from './Themed'; export default function EditScreenInfo({ path }: { path: string }) { return ( Open up the code for this screen: {path} Change any of the text, save the file, and your app will automatically update. Tap here if your app doesn't automatically update after making changes ); } function handleHelpPress() { WebBrowser.openBrowserAsync( 'https://docs.expo.io/get-started/create-a-new-app/#opening-the-app-on-your-phonetablet' ); } const styles = StyleSheet.create({ getStartedContainer: { alignItems: 'center', marginHorizontal: 50, }, homeScreenFilename: { marginVertical: 7, }, codeHighlightContainer: { borderRadius: 3, paddingHorizontal: 4, }, getStartedText: { fontSize: 17, lineHeight: 24, textAlign: 'center', }, helpContainer: { marginTop: 15, marginHorizontal: 20, alignItems: 'center', }, helpLink: { paddingVertical: 15, }, helpLinkText: { textAlign: 'center', }, });