// components import { PeekOverviewHeader, PeekOverviewIssueActivity, PeekOverviewIssueDetails, PeekOverviewIssueProperties, TPeekOverviewModes, } from "components/issues"; // ui import { Loader } from "components/ui"; // types import { IIssue } from "types"; type Props = { handleClose: () => void; handleDeleteIssue: () => void; handleUpdateIssue: (formData: Partial) => Promise; issue: IIssue | undefined; mode: TPeekOverviewModes; readOnly: boolean; setMode: (mode: TPeekOverviewModes) => void; workspaceSlug: string; }; export const FullScreenPeekView: React.FC = ({ handleClose, handleDeleteIssue, handleUpdateIssue, issue, mode, readOnly, setMode, workspaceSlug, }) => (
{issue ? (
{/* issue title and description */}
{/* divider */}
{/* issue activity/comments */}
) : (
)}
{/* issue properties */}
{issue ? ( ) : ( )}
);