Answer the question
In order to leave comments, you need to log in
How to create in React.js option?
Hello, I have an array:
var arr = [
['1', '2', '3'],
['one', 'two', 'three']
];
arr.map(function (opt, i) {
return <option key={i}>{opt}</option>
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question