"use client"; import * as Dialog from "@radix-ui/react-dialog"; import { motion } from "framer-motion"; import { X } from "lucide-react"; interface ConfirmDeleteModalProps { open: boolean; onOpenChange: (open: boolean) => void; onConfirm: () => void; title?: string; description?: string; } export default function ConfirmDeleteModal({ open, onOpenChange, onConfirm, title = "Delete paste?", description = "This action cannot be undone. Are you sure you want to delete this paste?", }: ConfirmDeleteModalProps) { return ( {/* Overlay noir semi-transparent */} {/* Contenu centré */}
{/* Header */}
{title}
{/* Description */} {description} {/* Actions */}
); }