Check out example codes for "html create a multi-line text input". It will help you in understanding the concepts better.

Code Example 1

<html>
 <head>
   <title>Textarea Elements</title>
 </head>
 <body>
   <form>
     <label for="multiLineInput"> <!-- Add the label if you want -->
       <p>This is an input element that can include new lines:</p>
       <textarea rows="5" cols="50" id="multiLineInput">

Learn ReactJs, React Native from akashmittal.com