summaryrefslogtreecommitdiffstats
path: root/screens/profile.js
diff options
context:
space:
mode:
authorAlberto-Duarte <alberto@albertoduarte.com>2023-05-11 11:40:35 +0100
committerAlberto-Duarte <alberto@albertoduarte.com>2023-05-11 11:40:35 +0100
commit6ff7c459e3d08ebdf6da6973ebe0410b5cab9c0a (patch)
treecc54b937a9c854c3f2bd27960a2e3234fce3f355 /screens/profile.js
first commit
Diffstat (limited to 'screens/profile.js')
-rw-r--r--screens/profile.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/screens/profile.js b/screens/profile.js
new file mode 100644
index 0000000..0bd1cd9
--- /dev/null
+++ b/screens/profile.js
@@ -0,0 +1,21 @@
+import React, { Component } from 'react';
+import { View, Text , Pressable} from 'react-native';
+import tw from 'twrnc'
+import auth from '@react-native-firebase/auth';
+
+
+const Profile = () => {
+ return (
+ <View style={tw`flex flex-1 items-center justify-center`}>
+ <Pressable
+ style={tw`bg-red-500`}
+ onPress={() => auth().signOut()}
+ >
+ <Text> Logout </Text>
+ </Pressable>
+ </View>
+ );
+}
+
+
+export default Profile;