map select tag code example
Example: map array to a select tag
var Answer = props =>
<select>{props.data.map((x,y) => <option key={y}>{x}</option>)}</select>;
var Answer = props =>
<select>{props.data.map((x,y) => <option key={y}>{x}</option>)}</select>;