import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from "@marzneshin/common/components"; import { ExclamationTriangleIcon } from "@radix-ui/react-icons"; import { FC } from "react"; import { useTranslation } from "react-i18next"; interface DeleteConfirmationProps { action: () => void; onOpenChange: (open: boolean) => void; open: boolean; } export const DeleteConfirmation: FC = ({ action, open, onOpenChange, }) => { const { t } = useTranslation(); return ( {t("delete-confirmation.title")} {t("delete-confirmation.desc")} {t("cancel")} {t("delete")} ); };