BlueWallet/navigation/LazyLoadReceiveDetailsStack.tsx
2024-05-21 11:56:10 +01:00

12 lines
321 B
TypeScript

import React, { lazy, Suspense } from 'react';
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
const ReceiveDetails = lazy(() => import('../screen/receive/details'));
export const ReceiveDetailsComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<ReceiveDetails />
</Suspense>
);