import { APP_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { AlertDialog, AlertDialogClose, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPopup, AlertDialogTitle, } from "@coss/ui/components/alert-dialog"; import { Button } from "@coss/ui/components/button"; import { Spinner } from "@coss/ui/components/spinner"; interface DeleteWebhookDialogProps { open: boolean; onOpenChange: (open: boolean) => void; onConfirm: () => void; isPending: boolean; } export function DeleteWebhookDialog({ open, onOpenChange, onConfirm, isPending }: DeleteWebhookDialogProps) { const { t } = useLocale(); return ( {t("delete_webhook")} {t("delete_webhook_confirmation_message", { appName: APP_NAME })} }>{t("cancel")} ); }