diff options
| author | Alberto Duarte (PWC) <alberto.duarte.delgado@pwc.com> | 2023-10-09 17:31:33 +0100 |
|---|---|---|
| committer | Alberto Duarte (PWC) <alberto.duarte.delgado@pwc.com> | 2023-10-09 17:31:33 +0100 |
| commit | 69b9513a19e8d0aa280bae8ec7b91dd5e81de2fa (patch) | |
| tree | 0d2e7e43874f26ac75687183552dc401d1bdd2cf /screens/profile.js | |
| parent | 6ff7c459e3d08ebdf6da6973ebe0410b5cab9c0a (diff) | |
Second commitmain
Diffstat (limited to 'screens/profile.js')
| -rw-r--r-- | screens/profile.js | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/screens/profile.js b/screens/profile.js index 0bd1cd9..53f71f0 100644 --- a/screens/profile.js +++ b/screens/profile.js @@ -1,21 +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; +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;
|