import React from 'react' ; import type { SpaceAvatarProps } from './types' ; export const getSpaceAvatarComponent = async ( ) : Promise < React . FC < SpaceAvatarProps > > => { const { SpaceAvatarInternal } = await import ( './space_avatar_internal' ) ; return ( props ) => { return < SpaceAvatarInternal { ... props } / > ; } ; } ;