BlueWallet/navigation/LazyLoadWalletExportStack.tsx
2024-05-08 20:32:37 -04:00

12 lines
336 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>
);