import { useEffect } from "react"; import { observer } from "mobx-react-lite"; // lib import { useMobxStore } from "lib/mobx/store-provider"; // components import { PeekOverviewHeader, PeekOverviewIssueActivity, PeekOverviewIssueDetails, PeekOverviewIssueProperties, } from "components/issues/peek-overview"; // types import { Loader } from "components/ui/loader"; import { IIssue } from "types/issue"; type Props = { handleClose: () => void; issueDetails: IIssue | undefined; }; export const FullScreenPeekView: React.FC = observer((props) => { const { handleClose, issueDetails } = props; return (
{issueDetails ? (
{/* issue title and description */}
{/* divider */}
{/* issue activity/comments */}
) : (
)}
{/* issue properties */}
{issueDetails ? ( ) : ( )}
); });