moving to vite as build system 🎉

This commit is contained in:
weakmap@gmail.com
2022-12-19 21:44:10 +01:00
parent e155e992d4
commit 4785cf797d
39 changed files with 289 additions and 1821 deletions

View File

@@ -0,0 +1,23 @@
import React from 'react';
import { Modal, Header, Icon, Button } from 'semantic-ui-react';
const UserRemovalModal = function UserRemovalModal({ onOk, onCancel }) {
return (
<Modal open={true}>
<Header icon="warning sign" content="Warning" />
<Modal.Content>
<p>Removing this user will also remove all associated jobs.</p>
</Modal.Content>
<Modal.Actions>
<Button color="red" onClick={() => onCancel()}>
<Icon name="remove" /> Cancel
</Button>
<Button color="green" onClick={() => onOk()}>
<Icon name="checkmark" /> Remove
</Button>
</Modal.Actions>
</Modal>
);
};
export default UserRemovalModal;