import { Disclosure, Transition } from "@headlessui/react"; import { ChevronDown, ChevronUp } from "lucide-react"; import { Button } from "@plane/ui"; type Props = { openDeleteModal: () => void; }; export const WebhookDeleteSection: React.FC = (props) => { const { openDeleteModal } = props; return ( {({ open }) => (
Danger zone {open ? : }
Once a webhook is deleted, it cannot be restored. Future events will no longer be delivered to this webhook.
)}
); };