summaryrefslogtreecommitdiff
path: root/frontend/src/components/app/sidebars/topology/machine/DeleteMachineComponent.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/app/sidebars/topology/machine/DeleteMachineComponent.js')
-rw-r--r--frontend/src/components/app/sidebars/topology/machine/DeleteMachineComponent.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/src/components/app/sidebars/topology/machine/DeleteMachineComponent.js b/frontend/src/components/app/sidebars/topology/machine/DeleteMachineComponent.js
new file mode 100644
index 00000000..d8774bf9
--- /dev/null
+++ b/frontend/src/components/app/sidebars/topology/machine/DeleteMachineComponent.js
@@ -0,0 +1,10 @@
+import React from "react";
+
+const DeleteMachineComponent = ({ onClick }) => (
+ <div className="btn btn-outline-danger btn-block" onClick={onClick}>
+ <span className="fa fa-trash mr-2" />
+ Delete this machine
+ </div>
+);
+
+export default DeleteMachineComponent;