mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
29 lines
852 B
TypeScript
29 lines
852 B
TypeScript
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
import React from 'react';
|
|
|
|
import navigationStyle from '../components/navigationStyle';
|
|
import { useTheme } from '../components/themes';
|
|
import loc from '../loc';
|
|
import { WalletXpubComponent } from './LazyLoadWalletXpubStack';
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
const WalletXpubStackRoot = () => {
|
|
const theme = useTheme();
|
|
|
|
return (
|
|
<Stack.Navigator screenOptions={{ headerShadowVisible: false, statusBarStyle: 'light' }} initialRouteName="WalletXpub">
|
|
<Stack.Screen
|
|
name="WalletXpub"
|
|
component={WalletXpubComponent}
|
|
options={navigationStyle({
|
|
headerBackVisible: false,
|
|
headerTitle: loc.wallets.xpub_title,
|
|
})(theme)}
|
|
/>
|
|
</Stack.Navigator>
|
|
);
|
|
};
|
|
|
|
export default WalletXpubStackRoot;
|