import { Button } from "@/components/ui/button" import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { AlertCircle } from "lucide-react" interface DeleteConfirmDialogProps { open: boolean onOpenChange: (open: boolean) => void type: string name: string onConfirm: () => void loading?: boolean } export default function DeleteConfirmDialog({ open, onOpenChange, type, name, onConfirm, loading = false, }: DeleteConfirmDialogProps) { if (!open) return null return (
Are you sure you want to delete this {type.toLowerCase()}?
{name}
⚠️ This action cannot be undone.