summaryrefslogtreecommitdiffstats
path: root/screens/profile.js
blob: 53f71f0ae758a556db9406494a399c2a7cfee3f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;