import React from "react"; const RackConstructionComponent = ({inObjectConstructionMode, onStart, onStop}) => { if (inObjectConstructionMode) { return (
Stop rack construction
); } return (
Start rack construction
); }; export default RackConstructionComponent;