Javascript Validate Text Input In React Native Paper Docs