mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:33:26 +00:00
upgrade to native wind v4
This commit is contained in:
@@ -1,22 +1,19 @@
|
||||
import { Link, Stack } from 'expo-router';
|
||||
|
||||
import { StyledText, StyledView } from '../components/ui/Styled';
|
||||
import { Text, View } from 'react-native';
|
||||
|
||||
export default function NotFoundScreen() {
|
||||
return (
|
||||
<>
|
||||
<Stack.Screen options={{ title: 'Oops!' }} />
|
||||
<StyledView className="flex-1 items-center justify-center p-5">
|
||||
<StyledText className="text-lg font-bold">
|
||||
<View className="flex-1 items-center justify-center p-5">
|
||||
<Text className="text-lg font-bold">
|
||||
This screen doesn't exist.
|
||||
</StyledText>
|
||||
</Text>
|
||||
|
||||
<Link href="/" className="mt-4 py-4">
|
||||
<StyledText className="text-sm text-sky-500">
|
||||
Go to home screen!
|
||||
</StyledText>
|
||||
<Text className="text-sm text-sky-500">Go to home screen!</Text>
|
||||
</Link>
|
||||
</StyledView>
|
||||
</View>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user