From 42778e8be409b97059fa519b53c303cdba502e01 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Tue, 5 Sep 2017 09:30:42 +0200 Subject: Implement rack creation --- .../topology/room/RackConstructionComponent.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/components/sidebars/topology/room/RackConstructionComponent.js (limited to 'src/components/sidebars/topology/room/RackConstructionComponent.js') diff --git a/src/components/sidebars/topology/room/RackConstructionComponent.js b/src/components/sidebars/topology/room/RackConstructionComponent.js new file mode 100644 index 00000000..8298eade --- /dev/null +++ b/src/components/sidebars/topology/room/RackConstructionComponent.js @@ -0,0 +1,19 @@ +import React from "react"; + +const RackConstructionComponent = ({inObjectConstructionMode, onStart, onStop}) => { + if (inObjectConstructionMode) { + return ( +
+ Stop rack construction +
+ ); + } + + return ( +
+ Start rack construction +
+ ); +}; + +export default RackConstructionComponent; -- cgit v1.2.3