Check out example codes for "how to write inside a rectangles in html". It will help you in understanding the concepts better.

Code Example 1

<div style="width:500px;height:100px;border:1px solid #000;">This is a rectangle!</div>

Learn ReactJs, React Native from akashmittal.com