import React, { lazy } from 'react'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import navigationStyle from '../components/navigationStyle'; import { useTheme } from '../components/themes'; import loc from '../loc'; // Assuming 'loc' is used for localization import { PaymentCodeStackParamList } from './PaymentCodeStackParamList'; import { withLazySuspense } from './LazyLoadingIndicator'; const Stack = createNativeStackNavigator(); const PaymentCodesList = lazy(() => import('../screen/wallets/PaymentCodesList')); const PaymentCodesListComponent = withLazySuspense(PaymentCodesList); const PaymentCodeStackRoot = () => { const theme = useTheme(); return ( ); }; export default PaymentCodeStackRoot;