Files
streamyfin/app/+not-found.tsx
Fredrik Burmester e6dd433821 wip
2025-11-14 20:05:39 +01:00

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,
},
});