import { observer } from "mobx-react-lite"; // components import { Loader } from "@plane/ui"; import { PeekOverviewHeader, PeekOverviewIssueActivity, PeekOverviewIssueDetails, PeekOverviewIssueProperties, } from "@/components/issues/peek-overview"; // hooks import { useProject } from "@/hooks/store"; // types import { IIssue } from "@/types/issue"; type Props = { handleClose: () => void; issueDetails: IIssue | undefined; workspaceSlug: string; projectId: string; }; export const SidePeekView: React.FC = observer((props) => { const { handleClose, issueDetails, workspaceSlug, projectId } = props; const { settings } = useProject(); return (
{issueDetails ? (
{/* issue title and description */}
{/* issue properties */}
{/* divider */}
{/* issue activity/comments */} {settings?.comments && (
)}
) : (
)}
); });