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

type Props = {
  onClose: () => void;
  onSubmit: (title: string) => void;
  isSubmitting?: boolean;
};

const TaskDetailChecklistPopover: FC<Props> = ({ onClose, onSubmit, isSubmitting }) => {
  return <TaskDetailChecklistForm onClose={onClose} onSubmit={onSubmit} isSubmitting={isSubmitting} />;
};

export default TaskDetailChecklistPopover;
