import React from "react"; interface LogoutModalProps { open: boolean; onClose: () => void; onConfirm: () => void | Promise; } const LogoutModal: React.FC = ({ open, onClose, onConfirm }) => { if (!open) return null; return (

Confirm Logout

Are you sure you want to logout? You will need to login again to access your dashboard.

{/* Cancel */} {/* Logout */}
); }; export default LogoutModal;