Check out example codes for "how to get an input in html". It will help you in understanding the concepts better.

Code Example 1

<input type="radio">Hi</input>

Code Example 2

<!DOCTYPE html>
<html>
   <body>
      <head>
         <title>HTML Forms</title>
      </head>
      <p>Add your details:</p>
      <form>
         Student Name:<br> <input type="text" name="name">
         <br>
         Student Subject:<br> <input type="text" name="subject">
         <br>
         Rank:<br> <input type="text" name="rank">
      </form>
   </body>
</html>

Learn ReactJs, React Native from akashmittal.com