How-To: Using React.js with HOOPS Communicator

Any idea how textbox markup can be added to model in react.js? Below is the link which adds textbox in javascript

How can we add textbox markup as external library?