Now is the time to add the onPress
handler to the button.
When you click on it, the component should change.
Instead of a title and button fields, two text components should appear.
The first one should display the word ‘Hello’.
The second is the email you entered earlier.
The styles of both components must be the same as the original styles for the ‘Sign in’ header.
This task is part of the Full-Stack JavaScript Course.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.