import React from 'react' ; import type { SuggestionsComponentProps } from './suggestions_component' ; const Fallback = ( ) => < div />; const LazySuggestionsComponent = React . lazy ( ( ) => import ( './suggestions_component' ) ) ; export const SuggestionsComponent = ( props ) => ( < React . Suspense fallback = { < Fallback / > } > < LazySuggestionsComponent { ... props } / > < /React.Suspense>);