@@ -9,94 +9,6 @@ import { ThemedView } from '@/components/ThemedView';
9
9
10
10
export default function TabTwoScreen ( ) {
11
11
return (
12
- < ParallaxScrollView
13
- headerBackgroundColor = { { light : '#D0D0D0' , dark : '#353636' } }
14
- headerImage = { < Ionicons size = { 310 } name = "code-slash" style = { styles . headerImage } /> } >
15
- < ThemedView style = { styles . titleContainer } >
16
- < ThemedText type = "title" > Explore</ ThemedText >
17
- </ ThemedView >
18
- < ThemedText > This app includes example code to help you get started.</ ThemedText >
19
- < Collapsible title = "File-based routing" >
20
- < ThemedText >
21
- This app has two screens:{ ' ' }
22
- < ThemedText type = "defaultSemiBold" > app/(tabs)/index.tsx</ ThemedText > and{ ' ' }
23
- < ThemedText type = "defaultSemiBold" > app/(tabs)/explore.tsx</ ThemedText >
24
- </ ThemedText >
25
- < ThemedText >
26
- The layout file in < ThemedText type = "defaultSemiBold" > app/(tabs)/_layout.tsx</ ThemedText > { ' ' }
27
- sets up the tab navigator.
28
- </ ThemedText >
29
- < ExternalLink href = "https://docs.expo.dev/router/introduction" >
30
- < ThemedText type = "link" > Learn more</ ThemedText >
31
- </ ExternalLink >
32
- </ Collapsible >
33
- < Collapsible title = "Android, iOS, and web support" >
34
- < ThemedText >
35
- You can open this project on Android, iOS, and the web. To open the web version, press{ ' ' }
36
- < ThemedText type = "defaultSemiBold" > w</ ThemedText > in the terminal running this project.
37
- </ ThemedText >
38
- </ Collapsible >
39
- < Collapsible title = "Images" >
40
- < ThemedText >
41
- For static images, you can use the < ThemedText type = "defaultSemiBold" > @2x</ ThemedText > and{ ' ' }
42
- < ThemedText type = "defaultSemiBold" > @3x</ ThemedText > suffixes to provide files for
43
- different screen densities
44
- </ ThemedText >
45
- < Image source = { require ( '@/assets/images/react-logo.png' ) } style = { { alignSelf : 'center' } } />
46
- < ExternalLink href = "https://reactnative.dev/docs/images" >
47
- < ThemedText type = "link" > Learn more</ ThemedText >
48
- </ ExternalLink >
49
- </ Collapsible >
50
- < Collapsible title = "Custom fonts" >
51
- < ThemedText >
52
- Open < ThemedText type = "defaultSemiBold" > app/_layout.tsx</ ThemedText > to see how to load{ ' ' }
53
- < ThemedText style = { { fontFamily : 'SpaceMono' } } >
54
- custom fonts such as this one.
55
- </ ThemedText >
56
- </ ThemedText >
57
- < ExternalLink href = "https://docs.expo.dev/versions/latest/sdk/font" >
58
- < ThemedText type = "link" > Learn more</ ThemedText >
59
- </ ExternalLink >
60
- </ Collapsible >
61
- < Collapsible title = "Light and dark mode components" >
62
- < ThemedText >
63
- This template has light and dark mode support. The{ ' ' }
64
- < ThemedText type = "defaultSemiBold" > useColorScheme()</ ThemedText > hook lets you inspect
65
- what the user's current color scheme is, and so you can adjust UI colors accordingly.
66
- </ ThemedText >
67
- < ExternalLink href = "https://docs.expo.dev/develop/user-interface/color-themes/" >
68
- < ThemedText type = "link" > Learn more</ ThemedText >
69
- </ ExternalLink >
70
- </ Collapsible >
71
- < Collapsible title = "Animations" >
72
- < ThemedText >
73
- This template includes an example of an animated component. The{ ' ' }
74
- < ThemedText type = "defaultSemiBold" > components/HelloWave.tsx</ ThemedText > component uses
75
- the powerful < ThemedText type = "defaultSemiBold" > react-native-reanimated</ ThemedText > library
76
- to create a waving hand animation.
77
- </ ThemedText >
78
- { Platform . select ( {
79
- ios : (
80
- < ThemedText >
81
- The < ThemedText type = "defaultSemiBold" > components/ParallaxScrollView.tsx</ ThemedText > { ' ' }
82
- component provides a parallax effect for the header image.
83
- </ ThemedText >
84
- ) ,
85
- } ) }
86
- </ Collapsible >
87
- </ ParallaxScrollView >
12
+ < > </ >
88
13
) ;
89
- }
90
-
91
- const styles = StyleSheet . create ( {
92
- headerImage : {
93
- color : '#808080' ,
94
- bottom : - 90 ,
95
- left : - 35 ,
96
- position : 'absolute' ,
97
- } ,
98
- titleContainer : {
99
- flexDirection : 'row' ,
100
- gap : 8 ,
101
- } ,
102
- } ) ;
14
+ }
0 commit comments