Files
tattletires/app/+not-found.tsx

31 lines
712 B
TypeScript
Raw Permalink Normal View History

2025-08-06 23:29:48 -05:00
import { Link, Stack } from 'expo-router'
import { StyleSheet, View } from 'react-native'
export default function NotFoundScreen() {
2025-08-06 23:29:48 -05:00
return (
<>
<Stack.Screen options={{ headerShown: false }} />
<View style={styles.container}>
<Link href='./' style={styles.button}>
Go back to Home screen!
</Link>
</View>
</>
)
}
const styles = StyleSheet.create({
2025-08-06 23:29:48 -05:00
container: {
flex: 1,
backgroundColor: '#25292e',
justifyContent: 'center',
alignItems: 'center'
},
2025-08-06 23:29:48 -05:00
button: {
fontSize: 20,
textDecorationLine: 'underline',
color: '#fff'
}
})