JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" id="test"/>
<button onclick="document.getElementById('test').value+=100500">+100500</button>