"use client"; import React from "react"; import { AlertTriangle } from "lucide-react"; import GlassButton from "./GlassButton"; interface GlassConfirmDialogProps { isOpen: boolean; title: string; message: string; confirmLabel?: string; onConfirm: () => void; onCancel: () => void; loading?: boolean; variant?: "danger" | "primary"; } export default function GlassConfirmDialog({ isOpen, title, message, confirmLabel = "Confirm", onConfirm, onCancel, loading = false, variant = "danger", }: GlassConfirmDialogProps): React.ReactElement | null { if (!isOpen) return null; return (
{message}