TextInput - it is the main component that allows the user to enter text. It is the basic component for entering text into an application using the keyboard. Props provides customization options for several features such as autocorrect, auto-capitalization, placeholder text, and various keyboard types such as the numeric keypad. It has an
onChangeText property that accepts a function called whenever the text changes, and a
onSubmitEditing property that accepts a function called when the text is submitted. For now, ignore the
useState hook, it is used to change the state of the application, we will get to know it more in the next series.
Thanks goes to these wonderful people (emoji key):