frostbyte-native/App.tsx

24 lines
584 B
TypeScript
Raw Normal View History

import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
import { PostsContainer } from './src/components/PostsContainer';
2023-12-14 20:09:12 +01:00
export default function App(): JSX.Element {
return (
<View style={styles.container}>
<Text>Open up App.tsx to start working on your app!</Text>
<StatusBar style="auto" />
<PostsContainer />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
2023-12-14 20:09:12 +01:00
backgroundColor: '#fff', // For the "entire" app
alignItems: 'center',
justifyContent: 'center',
},
});