import React from 'react' import { createNativeStackNavigator } from 'react-native-screens/native-stack' import { useTranslation } from 'react-i18next' import ScreenMeRoot from '@screens/Me/Root' import ScreenMeConversations from '@screens/Me/Cconversations' import ScreenMeBookmarks from '@screens/Me/Bookmarks' import ScreenMeFavourites from '@screens/Me/Favourites' import ScreenMeLists from '@screens/Me/Lists' import sharedScreens from '@screens/Shared/sharedScreens' import ScreenMeListsList from '@screens/Me/Root/Lists/List' import ScreenMeSettings from '@screens/Me/Settings' import { HeaderLeft } from '@root/components/Header' const Stack = createNativeStackNavigator() const ScreenMe: React.FC = () => { const { t } = useTranslation() return ( null }} /> ({ headerTitle: t('meConversations:heading'), headerLeft: () => ( navigation.goBack()} /> ) })} /> ({ headerTitle: t('meBookmarks:heading'), headerLeft: () => ( navigation.goBack()} /> ) })} /> ({ headerTitle: t('meFavourites:heading'), headerLeft: () => ( navigation.goBack()} /> ) })} /> ({ headerTitle: t('meLists:heading'), headerLeft: () => ( navigation.goBack()} /> ) })} /> ({ headerTitle: t('meListsList:heading', { list: route.params.title }), headerLeft: () => ( navigation.goBack()} /> ) })} /> ({ headerTitle: t('meSettings:heading'), headerLeft: () => ( navigation.goBack()} /> ) })} /> {sharedScreens(Stack)} ) } export default ScreenMe