summaryrefslogtreecommitdiff
path: root/src/components/sidebars/topology/machine/DeleteMachineComponent.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-07 19:27:13 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:58 +0200
commit8218c3d3c21bfa7c4f3ee4872722b9b1261576fb (patch)
tree16b8d0b8813aed0c846310a3fa4a01bd8ad18c60 /src/components/sidebars/topology/machine/DeleteMachineComponent.js
parenta7d2ac48224c4226003d67f77143738cc72aa016 (diff)
Add machine mode with title and delete options
Diffstat (limited to 'src/components/sidebars/topology/machine/DeleteMachineComponent.js')
-rw-r--r--src/components/sidebars/topology/machine/DeleteMachineComponent.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/sidebars/topology/machine/DeleteMachineComponent.js b/src/components/sidebars/topology/machine/DeleteMachineComponent.js
new file mode 100644
index 00000000..f6fd39da
--- /dev/null
+++ b/src/components/sidebars/topology/machine/DeleteMachineComponent.js
@@ -0,0 +1,11 @@
+import React from "react";
+
+const DeleteMachineComponent = ({onClick}) => {
+ return (
+ <div className="btn btn-danger btn-block" onClick={onClick}>
+ Delete this machine
+ </div>
+ );
+};
+
+export default DeleteMachineComponent;