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