select to the element in select component react code example
Example: select the items from selectors in .map reactjs
{this.props.categories((items , index)=>{
<option key{index}>{items.categoryName} </option>
})}
{this.props.categories((items , index)=>{
<option key{index}>{items.categoryName} </option>
})}