mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
33 lines
891 B
TypeScript
33 lines
891 B
TypeScript
import React from 'react';
|
|
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
import { WalletExportComponent } from './LazyLoadWalletExportStack';
|
|
import navigationStyle from '../components/navigationStyle';
|
|
import { useTheme } from '../components/themes';
|
|
import loc from '../loc';
|
|
|
|
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({
|
|
closeButton: true,
|
|
headerBackVisible: false,
|
|
title: loc.wallets.export_title,
|
|
})(theme)}
|
|
/>
|
|
</Stack.Navigator>
|
|
);
|
|
};
|
|
|
|
export default WalletExportStack;
|