diff options
Diffstat (limited to 'src/screens/Profile.tsx')
-rw-r--r-- | src/screens/Profile.tsx | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/screens/Profile.tsx b/src/screens/Profile.tsx index ffd30a499..76915b48f 100644 --- a/src/screens/Profile.tsx +++ b/src/screens/Profile.tsx @@ -1,7 +1,16 @@ import React from 'react' -import {Text} from 'react-native' -import type {RootStackScreenProps} from '../routes/types' +import {Shell} from '../platform/shell' +import {View, Text} from 'react-native' +import type {RootTabsScreenProps} from '../routes/types' -export const Profile = ({route}: RootStackScreenProps<'Profile'>) => { - return <Text>This is {route.params.name}'s profile</Text> +export const Profile = ({route}: RootTabsScreenProps<'Profile'>) => { + return ( + <Shell> + <View style={{justifyContent: 'center', alignItems: 'center'}}> + <Text style={{fontSize: 20, fontWeight: 'bold'}}> + {route.params?.name}'s profile + </Text> + </View> + </Shell> + ) } |