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