import { PersonChip } from '@/people/components/PersonChip'; import { EditableField } from '@/ui/editable-field/components/EditableField'; import { FieldContext } from '@/ui/editable-field/states/FieldContext'; import { IconUser } from '@/ui/icon'; import { RelationPickerHotkeyScope } from '@/ui/input/relation-picker/types/RelationPickerHotkeyScope'; import { RecoilScope } from '@/ui/utilities/recoil-scope/components/RecoilScope'; import { Person, PipelineProgress } from '~/generated/graphql'; import { PipelineProgressPointOfContactPickerFieldEditMode } from './PipelineProgressPointOfContactPickerFieldEditMode'; type OwnProps = { pipelineProgress: Pick & { pointOfContact?: Pick | null; }; }; export function PipelineProgressPointOfContactEditableField({ pipelineProgress, }: OwnProps) { return ( } editModeContent={ } displayModeContent={ pipelineProgress.pointOfContact ? ( ) : ( <> ) } isDisplayModeContentEmpty={!pipelineProgress.pointOfContact} isDisplayModeFixHeight /> ); }