BlueWallet/navigation/LazyLoadWalletExportStack.tsx
2024-05-21 11:56:10 +01:00

13 lines
337 B
TypeScript

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