From e40f07211f5f15dcb138e2520a76d13afd3c0cfd Mon Sep 17 00:00:00 2001 From: FifthWit Date: Thu, 30 Jan 2025 10:44:30 -0600 Subject: formatted with prettier --- frontend/src/components/MessageDialog.tsx | 46 +++++++++++++++++-------------- 1 file changed, 25 insertions(+), 21 deletions(-) (limited to 'frontend/src/components/MessageDialog.tsx') diff --git a/frontend/src/components/MessageDialog.tsx b/frontend/src/components/MessageDialog.tsx index 5c85189..b739ebc 100644 --- a/frontend/src/components/MessageDialog.tsx +++ b/frontend/src/components/MessageDialog.tsx @@ -1,29 +1,33 @@ import React from 'react'; -import "@css/Dialog.css" +import '@css/Dialog.css'; interface MessageDialogProps { - title: string; - subtitle: string; - onClose: () => void; -}; + title: string; + subtitle: string; + onClose: () => void; +} -const MessageDialog: React.FC = ({ title, subtitle, onClose }) => { - return ( -
-
-
- {title} -
-
- {subtitle} -
-
- -
-
+const MessageDialog: React.FC = ({ + title, + subtitle, + onClose, +}) => { + return ( +
+
+
+ {title}
- ) -} +
+ {subtitle} +
+
+ +
+
+
+ ); +}; export default MessageDialog; -- cgit v1.2.3