Check out example codes for "css form textarea resize". It will help you in understanding the concepts better.

Code Example 1

div {

  resize: both;
  resize: horizontal;
  resize: vertical;
  overflow: auto;

}

Learn ReactJs, React Native from akashmittal.com