import React from 'react' ; import type { CopyToSpaceFlyoutProps } from '../types' ; export const getCopyToSpaceFlyoutComponent = async ( ) : Promise < React . FC < CopyToSpaceFlyoutProps > > => { const { CopyToSpaceFlyoutInternal } = await import ( './copy_to_space_flyout_internal' ) ; return ( props ) => { return < CopyToSpaceFlyoutInternal { ... props } / > ; } ; } ;