BlueWallet/navigation/LazyLoadWalletExportStack.tsx

13 lines
343 B
TypeScript
Raw Normal View History

2024-05-08 20:32:37 -04:00
import React, { lazy, Suspense } from 'react';
2024-05-20 10:54:13 +01:00
2024-05-08 20:32:37 -04:00
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
// Define lazy imports
2024-07-23 22:06:05 -04:00
const WalletExport = lazy(() => import('../screen/wallets/WalletExport'));
2024-05-08 20:32:37 -04:00
export const WalletExportComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<WalletExport />
</Suspense>
);