put selected options value to an array react code example
Example 1: select the items from selectors in .map reactjs
{this.props.categories((items , index)=>{
<option key{index}>{items.categoryName} </option>
})}
Example 2: map array to a select tag
var Answer = props =>
<select>{props.data.map((x,y) => <option key={y}>{x}</option>)}</select>;