'use client'; import { AlertTriangle } from 'lucide-react'; import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from '@/components/ui/dialog'; import { Button } from '@/components/ui/button'; interface DeleteGlossaryDialogProps { open: boolean; onOpenChange: (open: boolean) => void; onConfirm: () => void; isDeleting: boolean; glossaryName?: string; } export function DeleteGlossaryDialog({ open, onOpenChange, onConfirm, isDeleting, glossaryName, }: DeleteGlossaryDialogProps) { return ( Delete Glossary Are you sure you want to delete this glossary? {glossaryName && ( "{glossaryName}" )}

This action cannot be undone

All term pairs will be permanently removed.

); }