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 ManageWallets from '../screen/wallets/ManageWallets';

const Stack = createNativeStackNavigator();

const ManageWalletsStackRoot = () => {
  const theme = useTheme();

  return (
    <Stack.Navigator screenOptions={{ headerShadowVisible: false }}>
      <Stack.Screen
        name="ManageWallets"
        component={ManageWallets}
        options={navigationStyle({
          headerBackVisible: false,
          headerLargeTitle: true,

          headerTitle: loc.wallets.manage_title,
        })(theme)}
      />
    </Stack.Navigator>
  );
};

export default ManageWalletsStackRoot;
