BlueWallet/navigation/LazyLoadScanQRCodeStack.tsx
Marcos Rodriguez Velez 4dd7040937
REF: Scan QR Lazy
2024-05-10 19:56:08 -04:00

11 lines
308 B
TypeScript

import React, { lazy, Suspense } from 'react';
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
const ScanQRCode = lazy(() => import('../screen/send/ScanQRCode'));
export const ScanQRCodeComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<ScanQRCode />
</Suspense>
);