So We have the login page and the register page inside the auth folder

ignore these red lines

ignore these red lines

we will add one thing to each page that is a button which will serve as a submit button to the login and register forms when we create them.

But I'd introduce the idea of making pressable buttons now which we can add to these pages.

in the case of a mobile app the user pressing on the screen where the button is and to react to those presses on the screen React Native provides us with a component called pressible.

1. The Pressable Component

In React Native, we use the Pressable component to detect and respond to various stages of press interactions (clicks on mobile).

<Pressable
  style={({ pressed }) => [
    styles.btn, pressed && styles.pressed // Conditional style applied only when pressed
  ]}
>
  <Text>Click Me</Text>
</Pressable>

2. Handling Events

To trigger logic when a user finishes a press, use the onPress prop.