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