You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

App.js 691B

123456789101112131415161718192021222324252627282930
  1. import { StatusBar } from 'expo-status-bar';
  2. import React from 'react';
  3. import { StyleSheet, Text, View, TextInput } from 'react-native';
  4. import TitleBar from './components/title_bar';
  5. export default function App() {
  6. return (
  7. <View style={styles.container, {
  8. flexDirection: "column"
  9. }}>
  10. <TitleBar/>
  11. <Text>Open up App.js to start working on your app!</Text>
  12. <StatusBar style="auto" />
  13. </View>
  14. );
  15. }
  16. const styles = StyleSheet.create({
  17. container: {
  18. flex: 1,
  19. backgroundColor: '#fff',
  20. alignItems: 'center',
  21. justifyContent: 'center',
  22. },
  23. controlBar: {
  24. flex: 1,
  25. flexDirection: "row",
  26. justifyContent: 'space-between'
  27. }
  28. });