2024-05-09 03:24:30 +02:00
|
|
|
import React, { lazy, Suspense } from 'react';
|
2024-05-20 11:54:13 +02:00
|
|
|
|
2024-05-09 03:24:30 +02:00
|
|
|
import { LazyLoadingIndicator } from './LazyLoadingIndicator';
|
|
|
|
|
|
|
|
const LNDCreateInvoice = lazy(() => import('../screen/lnd/lndCreateInvoice'));
|
2024-06-08 18:01:56 +02:00
|
|
|
const SelectWallet = lazy(() => import('../screen/wallets/SelectWallet'));
|
2024-05-09 03:24:30 +02:00
|
|
|
const LNDViewInvoice = lazy(() => import('../screen/lnd/lndViewInvoice'));
|
2024-10-26 07:22:38 +02:00
|
|
|
const LNDViewAdditionalInvoiceInformation = lazy(() => import('../screen/lnd/LNDViewAdditionalInvoiceInformation'));
|
2024-05-09 03:24:30 +02:00
|
|
|
const LNDViewAdditionalInvoicePreImage = lazy(() => import('../screen/lnd/lndViewAdditionalInvoicePreImage'));
|
|
|
|
|
|
|
|
export const LNDCreateInvoiceComponent = () => (
|
|
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
|
|
<LNDCreateInvoice />
|
|
|
|
</Suspense>
|
|
|
|
);
|
|
|
|
|
|
|
|
export const SelectWalletComponent = () => (
|
|
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
|
|
<SelectWallet />
|
|
|
|
</Suspense>
|
|
|
|
);
|
|
|
|
|
|
|
|
export const LNDViewInvoiceComponent = () => (
|
|
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
|
|
<LNDViewInvoice />
|
|
|
|
</Suspense>
|
|
|
|
);
|
|
|
|
|
|
|
|
export const LNDViewAdditionalInvoiceInformationComponent = () => (
|
|
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
|
|
<LNDViewAdditionalInvoiceInformation />
|
|
|
|
</Suspense>
|
|
|
|
);
|
|
|
|
|
|
|
|
export const LNDViewAdditionalInvoicePreImageComponent = () => (
|
|
|
|
<Suspense fallback={<LazyLoadingIndicator />}>
|
|
|
|
<LNDViewAdditionalInvoicePreImage />
|
|
|
|
</Suspense>
|
|
|
|
);
|