import { HeaderLeft } from '@components/Header' import { createNativeStackNavigator } from '@react-navigation/native-stack' import { ScreenComposeStackScreenProps } from '@utils/navigation/navigators' import React, { useCallback } from 'react' import { useTranslation } from 'react-i18next' import { KeyboardAvoidingView, Platform } from 'react-native' import { SafeAreaView } from 'react-native-safe-area-context' import ComposeEditAttachmentRoot from './EditAttachment/Root' import ComposeEditAttachmentSubmit from './EditAttachment/Submit' const Stack = createNativeStackNavigator() const ComposeEditAttachment: React.FC> = ({ route: { params: { index } }, navigation }) => { const { t } = useTranslation('screenCompose') return ( } options={{ headerLeft: () => navigation.goBack()} />, headerRight: () => , title: t('content.editAttachment.header.title') }} /> ) } export default ComposeEditAttachment