mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 23:59:08 +00:00
31 lines
684 B
TypeScript
31 lines
684 B
TypeScript
import { Link, Stack } from "expo-router";
|
|
import { StyleSheet, View } from "react-native";
|
|
import { Text } from "../components/common/Text";
|
|
|
|
export default function NotFoundScreen() {
|
|
return (
|
|
<>
|
|
<Stack.Screen options={{ title: "Oops!" }} />
|
|
<View style={styles.container}>
|
|
<Text>This screen doesn't exist.</Text>
|
|
<Link href={"/home"} style={styles.link}>
|
|
<Text>Go to home screen!</Text>
|
|
</Link>
|
|
</View>
|
|
</>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
padding: 20,
|
|
},
|
|
link: {
|
|
marginTop: 15,
|
|
paddingVertical: 15,
|
|
},
|
|
});
|