BlueWallet/navigation/LazyLoadWalletExportStack.tsx
2024-07-23 22:06:05 -04:00

13 lines
343 B
TypeScript

import React, { lazy, Suspense } from 'react';
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
// Define lazy imports
const WalletExport = lazy(() => import('../screen/wallets/WalletExport'));
export const WalletExportComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<WalletExport />
</Suspense>
);