about summary refs log tree commit diff
path: root/src/view/screens/content/Profile.tsx
blob: cfbf840f32faa09d9030c8326866dd5ebdae7d41 (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 '../../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>
  )
}