import React from "react"; import { Modal, Select } from "antd"; interface AssignModalProps { isOpen: boolean; options: { value: unknown; label: unknown }[]; value: number | undefined; onSelectAnnotator: (id: number) => void; onConfirm: () => void; onCancel: () => void; } const AssignModal: React.FC = ({ isOpen, options, value, onSelectAnnotator, onConfirm, onCancel, }) => { return (