TextInput in React Native | React Native Episodes | JAS ACADAMY

Опубликовано: 24 Июль 2021
на канале: JAS ACADAMY
198
5

A foundational component for inputting text into the app via a keyboard. Props provide configurability for several features, such as auto-correction, auto-capitalization, placeholder text, and different keyboard types, such as a numeric keypad.

The most basic use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to.

TextInput is the fundamental component to input text. It has several props which configure the different features, such as onChangeText that takes a function and call it whenever the text changed. The onSubmitEditing prop takes a function, which is called when the text submitted.

for more details you can refer react native document
https://reactnative.dev/docs/textinput

JOIN OUR TELEGRAM COMMUNITY FOR FREE REACT NATIVE TRAINING
https://t.me/jasacadamy

#reactnative #flex #Layout #reactnative #design