diff options
Diffstat (limited to 'src/screens/Signup.tsx')
-rw-r--r-- | src/screens/Signup.tsx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/screens/Signup.tsx b/src/screens/Signup.tsx index bf7f8f2f8..bab7abc1c 100644 --- a/src/screens/Signup.tsx +++ b/src/screens/Signup.tsx @@ -1,14 +1,15 @@ import React from 'react' -import {Text, Button, View, SafeAreaView} from 'react-native' -import type {RootStackScreenProps} from '../routes/types' +import {Shell} from '../platform/shell' +import {Text, Button, View} from 'react-native' +import type {RootTabsScreenProps} from '../routes/types' import {useStores} from '../state' -export function Signup({navigation}: RootStackScreenProps<'Signup'>) { +export function Signup({navigation}: RootTabsScreenProps<'Signup'>) { const store = useStores() return ( - <SafeAreaView style={{flex: 1}}> - <View style={{flex: 1}}> - <Text>Let's create your account</Text> + <Shell> + <View style={{justifyContent: 'center', alignItems: 'center'}}> + <Text style={{fontSize: 20, fontWeight: 'bold'}}>Create Account</Text> <Button title="Create new account" onPress={() => store.session.setAuthed(true)} @@ -18,6 +19,6 @@ export function Signup({navigation}: RootStackScreenProps<'Signup'>) { onPress={() => navigation.navigate('Login')} /> </View> - </SafeAreaView> + </Shell> ) } |