diff --git a/nepalingo-web/src/components/header/ExitConfirmationModal.tsx b/nepalingo-web/src/components/header/ExitConfirmationModal.tsx new file mode 100644 index 0000000..61c4912 --- /dev/null +++ b/nepalingo-web/src/components/header/ExitConfirmationModal.tsx @@ -0,0 +1,35 @@ +import React from "react" +interface ExitConfrimationModalProps { + show: boolean; + onConfirm: (confirm: boolean) => void; +} +const ExitConfrimationModal: React.FC = ({ + show, + onConfirm +}) => { + if (!show) return null; + + function confirmExit(arg0: boolean): void { + throw new Error("Function not implemented."); + } + + return ( +
+
+

Are you sure you want to exit?

+
+ + +
+
+
+ ); +}; +export default ExitConfirmationModal; \ No newline at end of file