BlueWallet/navigation/ViewEditMultisigCosignersStack.tsx

35 lines
1.0 KiB
TypeScript
Raw Normal View History

2024-05-11 18:08:23 +02:00
import { createNativeStackNavigator } from '@react-navigation/native-stack';
2024-05-20 11:54:13 +02:00
import React from 'react';
2024-05-11 18:08:23 +02:00
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 { ViewEditMultisigCosignersComponent } from './LazyLoadViewEditMultisigCosignersStack';
2024-05-11 18:08:23 +02:00
export type ViewEditMultisigCosignersStackParamList = {
ViewEditMultisigCosigners: {
walletID: string;
};
};
const Stack = createNativeStackNavigator<ViewEditMultisigCosignersStackParamList>();
const ViewEditMultisigCosignersStackRoot = () => {
const theme = useTheme();
return (
<Stack.Navigator screenOptions={{ headerShadowVisible: false }}>
<Stack.Screen
name="ViewEditMultisigCosigners"
component={ViewEditMultisigCosignersComponent}
options={navigationStyle({
headerBackVisible: false,
title: loc.multisig.manage_keys,
})(theme)}
/>
</Stack.Navigator>
);
};
export default ViewEditMultisigCosignersStackRoot;