mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
31 lines
893 B
TypeScript
31 lines
893 B
TypeScript
import React from 'react';
|
|
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
import { ReorderWalletsComponent } from './LazyLoadReorderWalletsStack';
|
|
import { useTheme } from '../components/themes';
|
|
import navigationStyle from '../components/navigationStyle';
|
|
import loc from '../loc';
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
const ReorderWalletsStackRoot = () => {
|
|
const theme = useTheme();
|
|
|
|
return (
|
|
<Stack.Navigator screenOptions={{ headerShadowVisible: false }}>
|
|
<Stack.Screen
|
|
name="ReorderWalletsScreen"
|
|
component={ReorderWalletsComponent}
|
|
options={navigationStyle({
|
|
headerBackVisible: false,
|
|
headerLargeTitle: true,
|
|
closeButton: true,
|
|
|
|
headerTitle: loc.wallets.reorder_title,
|
|
})(theme)}
|
|
/>
|
|
</Stack.Navigator>
|
|
);
|
|
};
|
|
|
|
export default ReorderWalletsStackRoot;
|