apartment-clone/app/(tabs)/account_tab.tsx

34 lines
738 B
TypeScript

import { StyleSheet } from 'react-native';
import AccountScreenInfo from '../../components/AccountScreenInfo';
import { Text, View } from '../../components/Themed';
export default function AccountScreen() {
return (
<View style={styles.container}>
{/* <Text style={styles.title}>Account Screen</Text> */}
{/* <View style={styles.separator} lightColor="#eee" darkColor="rgba(255,255,255,0.1)" /> */}
<AccountScreenInfo />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
title: {
fontSize: 20,
fontWeight: 'bold',
},
separator: {
marginVertical: 30,
height: 1,
width: '80%',
},
});