BlueWallet/navigation/ExportMultisigCoordinationSetupStack.tsx

35 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

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