JSFiddle - React, Tailwind, and code Playground
HTML
<select id="newuserSelect" >
</select>
JavaScript
for (var i = 0; i < 10; ++i)
$('#newuserSelect')
.append($('<option>', {
value: "0",
title: "hello",
css: { color: "red" }
})
.text("my text"));