diff options
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;
|