'use client'; import { motion, AnimatePresence } from 'framer-motion'; import { FaExclamationTriangle, FaTimes } from 'react-icons/fa'; import { Album } from '@/lib/types'; interface DeleteConfirmationModalProps { show: boolean; album: Album | null; onClose: () => void; onConfirm: () => void; } export default function DeleteConfirmationModal({ show, album, onClose, onConfirm, }: DeleteConfirmationModalProps) { if (!album) return null; return ( {show && ( e.stopPropagation()} className="glass-effect rounded-2xl max-w-md w-full p-8 border-2 border-red-500/30" > {/* Header */}

Delete Album

This action cannot be undone

{/* Content */}

Are you sure you want to delete the following album?

{album.title}

{album.year} • {album.genre} • {album.songs.length} tracks

Warning: This will permanently delete this album and all associated data.

{/* Actions */}
)}
); }