Validate react native input

Hi everyone, today I want to show a proper way to validate our inputs or forms in react native and how to handle errors.

Before

After