I would like to disable only the buttons for the rooms that is in the array as below. The array are on my state, this.state ={ disableRoom:["room02", "room03", "room04", "room05"] }
<Row>
{this.state.rooms.map((roomName, i) =>
<Col>
<Button disabled={this.state.disableRoom} >
{roomName}
</Button>
</Col>
)}
</Row>