2024-05-09 02:32:37 +02:00
|
|
|
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
2024-05-20 11:54:13 +02:00
|
|
|
import React from 'react';
|
|
|
|
|
2024-05-09 02:32:37 +02:00
|
|
|
import navigationStyle from '../components/navigationStyle';
|
|
|
|
import { useTheme } from '../components/themes';
|
|
|
|
import loc from '../loc';
|
2024-05-20 11:54:13 +02:00
|
|
|
import { WalletExportComponent } from './LazyLoadWalletExportStack';
|
2024-05-09 02:32:37 +02:00
|
|
|
|
|
|
|
export type WalletExportStackParamList = {
|
|
|
|
WalletExport: { walletID: string };
|
|
|
|
};
|
|
|
|
|
|
|
|
const Stack = createNativeStackNavigator<WalletExportStackParamList>();
|
|
|
|
|
|
|
|
const WalletExportStack = () => {
|
|
|
|
const theme = useTheme();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Stack.Navigator>
|
|
|
|
<Stack.Screen
|
|
|
|
name="WalletExport"
|
|
|
|
component={WalletExportComponent}
|
|
|
|
options={navigationStyle({
|
|
|
|
headerBackVisible: false,
|
|
|
|
title: loc.wallets.export_title,
|
|
|
|
})(theme)}
|
|
|
|
/>
|
|
|
|
</Stack.Navigator>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default WalletExportStack;
|