task detail attachment form
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
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 (
|
||||
<div className="absolute top-full right-0 mt-2 z-30 w-[300px] bg-white/90 backdrop-blur-md rounded-2xl p-4 shadow-lg border border-white/80">
|
||||
<TaskDetailAttachmentForm onClose={onClose} onSubmit={onSubmit} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default TaskDetailAttachmentPopover;
|
||||
Reference in New Issue
Block a user