import PropTypes from 'prop-types' import React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faPlus, faCheck, faTimes } from '@fortawesome/free-solid-svg-icons' import { Button } from 'reactstrap' const NewRoomConstructionComponent = ({ onStart, onFinish, onCancel, currentRoomInConstruction }) => { if (currentRoomInConstruction === '-1') { return (
Construct a new room
) } return (
) } NewRoomConstructionComponent.propTypes = { onStart: PropTypes.func, onFinish: PropTypes.func, onCancel: PropTypes.func, currentRoomInConstruction: PropTypes.string, } export default NewRoomConstructionComponent