Check out example codes for "textbox in xamarin forms". It will help you in understanding the concepts better.

Code Example 1

// in C#

var MyEntry = new Entry { Text = "I am a TextBox/Entry" };

// or in the .xaml

<Entry Text="I am an Entry" />

Learn ReactJs, React Native from akashmittal.com