mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
13 lines
343 B
TypeScript
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>
|
|
);
|