BlueWallet/navigation/AztecoRedeemStack.tsx

35 lines
1014 B
TypeScript
Raw 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:33:55 +02:00
import loc from '../loc';
2024-05-20 11:54:13 +02:00
import { AztecoRedeemComponent, SelectWalletComponent } from './LazyLoadAztecoRedeemStack';
2024-05-11 18:33:55 +02:00
const Stack = createNativeStackNavigator();
const AztecoRedeemStackRoot = () => {
const theme = useTheme();
return (
<Stack.Navigator screenOptions={{ headerShadowVisible: false }}>
<Stack.Screen
name="AztecoRedeem"
component={AztecoRedeemComponent}
options={navigationStyle({
2024-05-11 18:33:55 +02:00
title: loc.azteco.title,
statusBarStyle: 'auto',
})(theme)}
2024-05-11 18:33:55 +02:00
/>
<Stack.Screen
name="SelectWallet"
component={SelectWalletComponent}
options={navigationStyle({
title: loc.wallets.select_wallet,
})(theme)}
/>
</Stack.Navigator>
);
};
export default AztecoRedeemStackRoot;