mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 17:03:26 +00:00
24 lines
583 B
TypeScript
24 lines
583 B
TypeScript
import { Link, Stack } from "expo-router";
|
|
import { Text, View } from "tamagui";
|
|
|
|
export default function NotFoundScreen() {
|
|
return (
|
|
<>
|
|
<Stack.Screen options={{ title: "Oops!" }} />
|
|
<View flex={1} alignItems="center" justifyContent="center" padding={5}>
|
|
<Text fontWeight="bold">This screen doesn't exist.</Text>
|
|
|
|
<Link
|
|
href="/"
|
|
style={{
|
|
marginTop: 16,
|
|
paddingVertical: 16,
|
|
}}
|
|
>
|
|
<Text color="skyblue">Go to home screen!</Text>
|
|
</Link>
|
|
</View>
|
|
</>
|
|
);
|
|
}
|