mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
35 lines
1014 B
TypeScript
35 lines
1014 B
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 { AztecoRedeemComponent, SelectWalletComponent } from './LazyLoadAztecoRedeemStack';
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
const AztecoRedeemStackRoot = () => {
|
|
const theme = useTheme();
|
|
|
|
return (
|
|
<Stack.Navigator screenOptions={{ headerShadowVisible: false }}>
|
|
<Stack.Screen
|
|
name="AztecoRedeem"
|
|
component={AztecoRedeemComponent}
|
|
options={navigationStyle({
|
|
title: loc.azteco.title,
|
|
statusBarStyle: 'auto',
|
|
})(theme)}
|
|
/>
|
|
<Stack.Screen
|
|
name="SelectWallet"
|
|
component={SelectWalletComponent}
|
|
options={navigationStyle({
|
|
title: loc.wallets.select_wallet,
|
|
})(theme)}
|
|
/>
|
|
</Stack.Navigator>
|
|
);
|
|
};
|
|
|
|
export default AztecoRedeemStackRoot;
|