diff options
Diffstat (limited to 'screens/profile.js')
| -rw-r--r-- | screens/profile.js | 21 |
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; |