App.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /**
  2. * Sample React Native App
  3. * https://github.com/facebook/react-native
  4. *
  5. * @format
  6. * @flow strict-local
  7. */
  8. import React from 'react';
  9. import {
  10. SafeAreaView,
  11. StyleSheet,
  12. ScrollView,
  13. View,
  14. Text,
  15. StatusBar,
  16. } from 'react-native';
  17. import {
  18. Header,
  19. LearnMoreLinks,
  20. Colors,
  21. DebugInstructions,
  22. ReloadInstructions,
  23. } from 'react-native/Libraries/NewAppScreen';
  24. import SplashScreen from 'react-native-splash-screen';
  25. import Main_tab_navigation from './components/navigation/main_tab_navigation';
  26. const App: () => React$Node = () => {
  27. SplashScreen.hide();
  28. return <Main_tab_navigation />;
  29. };
  30. const styles = StyleSheet.create({
  31. scrollView: {
  32. backgroundColor: Colors.lighter,
  33. },
  34. engine: {
  35. position: 'absolute',
  36. right: 0,
  37. },
  38. body: {
  39. backgroundColor: Colors.white,
  40. },
  41. sectionContainer: {
  42. marginTop: 32,
  43. paddingHorizontal: 24,
  44. },
  45. sectionTitle: {
  46. fontSize: 24,
  47. fontWeight: '600',
  48. color: Colors.black,
  49. },
  50. sectionDescription: {
  51. marginTop: 8,
  52. fontSize: 18,
  53. fontWeight: '400',
  54. color: Colors.dark,
  55. },
  56. highlight: {
  57. fontWeight: '700',
  58. },
  59. footer: {
  60. color: Colors.dark,
  61. fontSize: 12,
  62. fontWeight: '600',
  63. padding: 4,
  64. paddingRight: 12,
  65. textAlign: 'right',
  66. },
  67. });
  68. export default App;