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