2025-12-11 10:40:55 +01:00
|
|
|
/*
|
2026-01-12 15:00:36 +01:00
|
|
|
* Copyright (c) 2026 by Christian Kellner.
|
2025-12-11 10:40:55 +01:00
|
|
|
* Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause
|
|
|
|
|
*/
|
|
|
|
|
|
2021-01-21 16:09:23 +01:00
|
|
|
import React from 'react';
|
2023-03-20 08:52:13 +01:00
|
|
|
import { Modal } from '@douyinfe/semi-ui';
|
2021-01-21 16:09:23 +01:00
|
|
|
const UserRemovalModal = function UserRemovalModal({ onOk, onCancel }) {
|
|
|
|
|
return (
|
2023-03-20 08:52:13 +01:00
|
|
|
<Modal title="Removing user" visible={true} closable={false} onOk={onOk} onCancel={onCancel}>
|
|
|
|
|
<p>Removing this user will also remove all associated jobs.</p>
|
2021-01-21 16:09:23 +01:00
|
|
|
</Modal>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default UserRemovalModal;
|