import { type FC } from "react";
import TaskDetailAttachmentForm from "./TaskDetailAttachmentForm";

type Props = {
  onClose: () => void;
  onSubmit: (data: { file?: File; title: string; linkId: string }) => void;
};

const TaskDetailAttachmentPopover: FC<Props> = ({ onClose, onSubmit }) => {
  return <TaskDetailAttachmentForm onClose={onClose} onSubmit={onSubmit} />;
};

export default TaskDetailAttachmentPopover;
