summaryrefslogtreecommitdiffstats
path: root/src/screens/Auth/ForgotPasswordScreen.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/Auth/ForgotPasswordScreen.js')
-rw-r--r--src/screens/Auth/ForgotPasswordScreen.js49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/screens/Auth/ForgotPasswordScreen.js b/src/screens/Auth/ForgotPasswordScreen.js
new file mode 100644
index 0000000..a768f20
--- /dev/null
+++ b/src/screens/Auth/ForgotPasswordScreen.js
@@ -0,0 +1,49 @@
+import React, { useState } from 'react';
+import { View, Text, TextInput, Button, StyleSheet, Alert } from 'react-native';
+
+const ForgotPasswordScreen = () => {
+ const [email, setEmail] = useState('');
+
+ const handleForgotPassword = () => {
+ // Handle forgot password logic here (e.g., send reset link)
+ Alert.alert("Reset Password", "Check your email for password reset instructions.");
+ };
+
+ return (
+ <View style={styles.container}>
+ <Text style={styles.title}>Forgot Password</Text>
+ <TextInput
+ style={styles.input}
+ placeholder="Email"
+ value={email}
+ onChangeText={setEmail}
+ keyboardType="email-address"
+ autoCapitalize="none"
+ />
+ <Button title="Reset Password" onPress={handleForgotPassword} />
+ </View>
+ );
+};
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ justifyContent: 'center',
+ padding: 16,
+ },
+ title: {
+ fontSize: 24,
+ fontWeight: 'bold',
+ marginBottom: 24,
+ textAlign: 'center',
+ },
+ input: {
+ height: 40,
+ borderColor: '#ccc',
+ borderWidth: 1,
+ marginBottom: 12,
+ paddingHorizontal: 8,
+ },
+});
+
+export default ForgotPasswordScreen;