mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
This PR runs `prettier` on the `examples` folder. Depends on https://github.com/supabase/supabase/pull/43849.
33 lines
793 B
TypeScript
33 lines
793 B
TypeScript
import { Link, Stack } from 'expo-router'
|
|
import { StyleSheet } from 'react-native'
|
|
|
|
import { ThemedText } from '@/components/themed-text'
|
|
import { ThemedView } from '@/components/themed-view'
|
|
|
|
export default function NotFoundScreen() {
|
|
return (
|
|
<>
|
|
<Stack.Screen options={{ title: 'Oops!' }} />
|
|
<ThemedView style={styles.container}>
|
|
<ThemedText type="title">This screen doesn't exist.</ThemedText>
|
|
<Link href="/" style={styles.link}>
|
|
<ThemedText type="link">Go to home screen!</ThemedText>
|
|
</Link>
|
|
</ThemedView>
|
|
</>
|
|
)
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
padding: 20,
|
|
},
|
|
link: {
|
|
marginTop: 15,
|
|
paddingVertical: 15,
|
|
},
|
|
})
|