import { FC, ReactElement, useMemo } from 'react'; import AddUpsInputGroup from './AddUpsInputGroup'; import Spinner from '../Spinner'; const INPUT_ID_UPS_UUID = 'edit-ups-input-ups-uuid'; const EditUpsInputGroup: FC = ({ loading: isExternalLoading, previous, upsTemplate, upsUUID, }) => { const content = useMemo( () => isExternalLoading ? ( ) : ( <> ), [isExternalLoading, previous, upsTemplate, upsUUID], ); return content; }; export { INPUT_ID_UPS_UUID }; export default EditUpsInputGroup;