import React from "react"; import { ChevronRight, ChevronUp } from "lucide-react"; import { Disclosure, Transition } from "@headlessui/react"; // types import { IProject } from "@plane/types"; // ui import { Button, Loader } from "@plane/ui"; export interface IArchiveProject { projectDetails: IProject; handleArchive: () => void; } export const ArchiveProjectSelection: React.FC = (props) => { const { projectDetails, handleArchive } = props; return ( {({ open }) => (
Archive project {open ? : }
Archiving a project will unlist your project from your side navigation although you will still be able to access it from your projects page. You can restore the project or delete it whenever you want.
{projectDetails ? (
) : ( )}
)}
); };