mirror of
https://github.com/lemeow125/Reactnative-notesapp.git
synced 2024-11-16 22:19:26 +08:00
Made register button functional in login page
This commit is contained in:
parent
d2c141fafa
commit
6bbc3d5c8e
1 changed files with 6 additions and 1 deletions
|
@ -85,7 +85,12 @@ export default function Login() {
|
|||
<Text style={styles.loginText}>LOGIN</Text>
|
||||
</TouchableOpacity>
|
||||
<Text style={styles.text_small_red}>{error}</Text>
|
||||
<TouchableOpacity style={styles.registerbtn}>
|
||||
<TouchableOpacity
|
||||
onPress={() => {
|
||||
navigation.navigate("Register");
|
||||
}}
|
||||
style={styles.registerbtn}
|
||||
>
|
||||
<Text style={styles.registertext}>REGISTER</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
|
|
Loading…
Reference in a new issue