import React from "react"; // ui import { ChevronDown, ChevronUp } from "lucide-react"; import { Disclosure, Transition } from "@headlessui/react"; import { IProject } from "@plane/types"; import { Button, Loader } from "@plane/ui"; // icons // types export interface IDeleteProjectSection { projectDetails: IProject; handleDelete: () => void; } export const DeleteProjectSection: React.FC = (props) => { const { projectDetails, handleDelete } = props; return ( {({ open }) => (
Delete Project {open ? : }
The danger zone of the project delete page is a critical area that requires careful consideration and attention. When deleting a project, all of the data and resources within that project will be permanently removed and cannot be recovered.
{projectDetails ? (
) : ( )}
)}
); };