|
1 | 1 | import React from 'react'; |
2 | 2 | import { StyleSheet } from 'react-native'; |
3 | 3 |
|
| 4 | +import Colors from '@/constants/Colors'; |
| 5 | + |
4 | 6 | import { ExternalLink } from './ExternalLink'; |
5 | 7 | import { MonoText } from './StyledText'; |
6 | 8 | import { Text, View } from './Themed'; |
7 | 9 |
|
8 | | -import Colors from '@/constants/Colors'; |
9 | | - |
10 | 10 | export default function EditScreenInfo({ path }: { path: string }) { |
11 | 11 | return ( |
12 | 12 | <View> |
13 | 13 | <View style={styles.getStartedContainer}> |
14 | | - <Text |
15 | | - style={styles.getStartedText} |
16 | | - lightColor="rgba(0,0,0,0.8)" |
17 | | - darkColor="rgba(255,255,255,0.8)"> |
| 14 | + <Text style={styles.getStartedText} lightColor="rgba(0,0,0,0.8)" darkColor="rgba(255,255,255,0.8)"> |
18 | 15 | Open up the code for this screen: |
19 | 16 | </Text> |
20 | 17 |
|
21 | 18 | <View |
22 | 19 | style={[styles.codeHighlightContainer, styles.homeScreenFilename]} |
23 | 20 | darkColor="rgba(255,255,255,0.05)" |
24 | | - lightColor="rgba(0,0,0,0.05)"> |
| 21 | + lightColor="rgba(0,0,0,0.05)" |
| 22 | + > |
25 | 23 | <MonoText>{path}</MonoText> |
26 | 24 | </View> |
27 | 25 |
|
28 | | - <Text |
29 | | - style={styles.getStartedText} |
30 | | - lightColor="rgba(0,0,0,0.8)" |
31 | | - darkColor="rgba(255,255,255,0.8)"> |
32 | | - Change any of the text, save the file, and your app will automatically |
33 | | - update. |
| 26 | + <Text style={styles.getStartedText} lightColor="rgba(0,0,0,0.8)" darkColor="rgba(255,255,255,0.8)"> |
| 27 | + Change any of the text, save the file, and your app will automatically update. |
34 | 28 | </Text> |
35 | 29 | </View> |
36 | 30 |
|
37 | 31 | <View style={styles.helpContainer}> |
38 | 32 | <ExternalLink |
39 | 33 | style={styles.helpLink} |
40 | | - href="https://docs.expo.io/get-started/create-a-new-app/#opening-the-app-on-your-phonetablet"> |
| 34 | + href="https://docs.expo.io/get-started/create-a-new-app/#opening-the-app-on-your-phonetablet" |
| 35 | + > |
41 | 36 | <Text style={styles.helpLinkText} lightColor={Colors.light.tint}> |
42 | | - Tap here if your app doesn't automatically update after making |
43 | | - changes |
| 37 | + Tap here if your app doesn't automatically update after making changes |
44 | 38 | </Text> |
45 | 39 | </ExternalLink> |
46 | 40 | </View> |
|
0 commit comments