this repo has no description
1import { Link, Stack } from 'expo-router';
2import { StyleSheet } from 'react-native';
3
4import { ThemedText } from '@/components/ThemedText';
5import { ThemedView } from '@/components/ThemedView';
6
7export default function NotFoundScreen() {
8 return (
9 <>
10 <Stack.Screen options={{ title: 'Oops!' }} />
11 <ThemedView style={styles.container}>
12 <ThemedText type="title">This screen does not exist.</ThemedText>
13 <Link href="/" style={styles.link}>
14 <ThemedText type="link">Go to home screen!</ThemedText>
15 </Link>
16 </ThemedView>
17 </>
18 );
19}
20
21const styles = StyleSheet.create({
22 container: {
23 flex: 1,
24 alignItems: 'center',
25 justifyContent: 'center',
26 padding: 20,
27 },
28 link: {
29 marginTop: 15,
30 paddingVertical: 15,
31 },
32});