Files
height_manager/client/app/+not-found.tsx

31 lines
678 B
TypeScript
Raw Normal View History

import { View, Text, StyleSheet } from 'react-native';
import { Link } from 'expo-router';
import { useTheme } from '@/hooks/useTheme';
import { Spacing } from '@/constants/theme';
export default function NotFoundScreen() {
const { theme } = useTheme();
return (
<View style={[styles.container, { backgroundColor: theme.backgroundRoot }]}>
<Text>
</Text>
<Link href="/" style={[styles.gohome]}>
</Link>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
gohome: {
marginTop: Spacing['2xl'],
},
});