How to validate Text Input in React Native Tutorials