/** * External dependencies */ import { lazy, Suspense } from '@wordpress/element'; const SettingsPaymentsMainChunk = lazy( () => import( /* webpackChunkName: "settings-payments-main" */ './settings-payments-main' ) ); const SettingsPaymentsOfflineChunk = lazy( () => import( /* webpackChunkName: "settings-payments-offline" */ './settings-payments-offline' ) ); const SettingsPaymentsWooCommercePaymentsChunk = lazy( () => import( /* webpackChunkName: "settings-payments-woocommerce-payments" */ './settings-payments-woocommerce-payments' ) ); export const SettingsPaymentsMainWrapper: React.FC = () => { return ( Loading main settings... }> ); }; export const SettingsPaymentsOfflineWrapper: React.FC = () => { return ( Loading offline settings... }> ); }; export const SettingsPaymentsWooCommercePaymentsWrapper: React.FC = () => { return ( Loading WooCommerce Payments settings... } > ); };