BlueWallet/navigation/ExportMultisigCoordinationSetupStack.tsx

35 lines
1.1 KiB
TypeScript

import React from 'react';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import navigationStyle from '../components/navigationStyle';
import { useTheme } from '../components/themes';
import loc from '../loc';
import { ExportMultisigCoordinationSetupComponent } from './LazyLoadExportMultisigCoordinationSetupStack';
export type ExportMultisigCoordinationSetupStackRootParamList = {
ExportMultisigCoordinationSetup: {
walletID: string;
};
};
const Stack = createNativeStackNavigator<ExportMultisigCoordinationSetupStackRootParamList>();
const ExportMultisigCoordinationSetupStack = () => {
const theme = useTheme();
return (
<Stack.Navigator initialRouteName="ExportMultisigCoordinationSetup">
<Stack.Screen
name="ExportMultisigCoordinationSetup"
component={ExportMultisigCoordinationSetupComponent}
options={navigationStyle({
headerBackVisible: false,
statusBarStyle: 'light',
title: loc.multisig.export_coordination_setup,
})(theme)}
/>
</Stack.Navigator>
);
};
export default ExportMultisigCoordinationSetupStack;