import { FC } from "react"; // types import { TIssue } from "@plane/types"; // components import { EModalPosition, EModalWidth, ModalCore } from "@/components/core"; import { InboxIssueCreateRoot, InboxIssueEditRoot } from "@/components/inbox/modals/create-edit-modal"; type TInboxIssueCreateEditModalRoot = { workspaceSlug: string; projectId: string; modalState: boolean; handleModalClose: () => void; issue: Partial | undefined; onSubmit?: () => void; }; export const InboxIssueCreateEditModalRoot: FC = (props) => { const { workspaceSlug, projectId, modalState, handleModalClose, issue, onSubmit } = props; return ( {issue && issue?.id ? ( ) : ( )} ); };