BlueWallet/navigation/LazyLoadReceiveDetailsStack.tsx

12 lines
321 B
TypeScript
Raw Normal View History

2024-05-09 03:37:38 +02:00
import React, { lazy, Suspense } from 'react';
2024-05-20 11:54:13 +02:00
2024-05-09 03:37:38 +02:00
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
const ReceiveDetails = lazy(() => import('../screen/receive/details'));
export const ReceiveDetailsComponent = () => (
<Suspense fallback={<LazyLoadingIndicator />}>
<ReceiveDetails />
</Suspense>
);