BlueWallet/navigation/LazyLoadWalletExportStack.tsx

12 lines
336 B
TypeScript
Raw Normal View History

2024-05-08 20:32:37 -04:00
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>
);