about summary refs log tree commit diff
path: root/src/screens/Profile.tsx
blob: 76915b48f413bf7b64560d34d66f2c66a42c18f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import React from 'react'
import {Shell} from '../platform/shell'
import {View, Text} from 'react-native'
import type {RootTabsScreenProps} from '../routes/types'

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>
  )
}