import { FC, LazyExoticComponent, ReactNode, Suspense } from 'react'; import { useTranslation } from 'react-i18next'; import { Spinner } from '@fluentui/react-components'; interface LazyImportComponentProps { lazyChildren: LazyExoticComponent>; lazyProps?: any; children?: ReactNode; } export const LazyImportComponent: FC = (props) => { const { t } = useTranslation(); return ( }> {props.children} ); };