title: Form validation in React Native
body: <p>I wanted to implement a basic form with text inputs, segment control and submit button. Now I want to validate the text inputs to either display error or move to next page on click of submit button. How to implement this design or any tool for the same?</p>