import React from "react"; // ui import { Disclosure, Transition } from "@headlessui/react"; import { Button, Loader } from "@plane/ui"; // icons import { ChevronDown, ChevronUp } from "lucide-react"; // types import { IProject } from "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 ? (
) : ( )}
)}
); };