From 38b757fc98004e7665867de38169b56db19188e2 Mon Sep 17 00:00:00 2001 From: Wolfboy248 Date: Fri, 18 Oct 2024 17:26:53 +0200 Subject: refactor: 21.png --- frontend/src/components/MapDeleteConfirmDialog.tsx | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 frontend/src/components/MapDeleteConfirmDialog.tsx (limited to 'frontend/src/components') diff --git a/frontend/src/components/MapDeleteConfirmDialog.tsx b/frontend/src/components/MapDeleteConfirmDialog.tsx new file mode 100644 index 0000000..1518a14 --- /dev/null +++ b/frontend/src/components/MapDeleteConfirmDialog.tsx @@ -0,0 +1,28 @@ +import React from 'react'; + +import "../css/MapDeleteConfirmDialog.css" + +interface MapDeleteConfirmDialogProps { + open: boolean; + onClose: () => void; + map_id: number; + record_id: number; +}; + +const MapDeleteConfirmDialog: React.FC = ({ open, onClose, map_id, record_id }) => { + if (open) { + return ( +
+
+ +
+
+ ) + } + + return ( + <> + ) +}; + +export default MapDeleteConfirmDialog; -- cgit v1.2.3