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/ConfirmDialog.tsx | 49 +++++++++++++++++-------------- 1 file changed, 27 insertions(+), 22 deletions(-) (limited to 'frontend/src/components/ConfirmDialog.tsx') diff --git a/frontend/src/components/ConfirmDialog.tsx b/frontend/src/components/ConfirmDialog.tsx index 44a653b..925118d 100644 --- a/frontend/src/components/ConfirmDialog.tsx +++ b/frontend/src/components/ConfirmDialog.tsx @@ -1,31 +1,36 @@ import React from 'react'; -import "@css/Dialog.css" +import '@css/Dialog.css'; interface ConfirmDialogProps { - title: string; - subtitle: string; - onConfirm: () => void; - onCancel: () => void; -}; + title: string; + subtitle: string; + onConfirm: () => void; + onCancel: () => void; +} -const ConfirmDialog: React.FC = ({ title, subtitle, onConfirm, onCancel }) => { - return ( -
-
-
- {title} -
-
- {subtitle} -
-
- - -
-
+const ConfirmDialog: React.FC = ({ + title, + subtitle, + onConfirm, + onCancel, +}) => { + return ( +
+
+
+ {title} +
+
+ {subtitle} +
+
+ +
- ) +
+
+ ); }; export default ConfirmDialog; -- cgit v1.2.3