diff options
Diffstat (limited to 'frontend/src/components')
| -rw-r--r-- | frontend/src/components/MapDeleteConfirmDialog.tsx | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ | |||
| 1 | import React from 'react'; | ||
| 2 | |||
| 3 | import "../css/MapDeleteConfirmDialog.css" | ||
| 4 | |||
| 5 | interface MapDeleteConfirmDialogProps { | ||
| 6 | open: boolean; | ||
| 7 | onClose: () => void; | ||
| 8 | map_id: number; | ||
| 9 | record_id: number; | ||
| 10 | }; | ||
| 11 | |||
| 12 | const MapDeleteConfirmDialog: React.FC<MapDeleteConfirmDialogProps> = ({ open, onClose, map_id, record_id }) => { | ||
| 13 | if (open) { | ||
| 14 | return ( | ||
| 15 | <div className='dimmer'> | ||
| 16 | <div> | ||
| 17 | |||
| 18 | </div> | ||
| 19 | </div> | ||
| 20 | ) | ||
| 21 | } | ||
| 22 | |||
| 23 | return ( | ||
| 24 | <></> | ||
| 25 | ) | ||
| 26 | }; | ||
| 27 | |||
| 28 | export default MapDeleteConfirmDialog; | ||