App.jsx 962 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /**
  2. * Sample React Native App
  3. * https://github.com/facebook/react-native
  4. *
  5. * @format
  6. */
  7. import React from 'react';
  8. import {
  9. SafeAreaView,
  10. ScrollView,
  11. StatusBar,
  12. StyleSheet,
  13. Text,
  14. useColorScheme,
  15. View,
  16. } from 'react-native';
  17. import { ThemeProvider } from './src/context/theme.context';
  18. import AppNavigator from './src/navigation/AppNavigator';
  19. import { GestureHandlerRootView } from 'react-native-gesture-handler';
  20. import 'react-native-gesture-handler'
  21. function App() {
  22. return (
  23. <React.StrictMode>
  24. <ThemeProvider>
  25. <AppNavigator />
  26. </ThemeProvider>
  27. </React.StrictMode>
  28. );
  29. }
  30. const styles = StyleSheet.create({
  31. sectionContainer: {
  32. marginTop: 32,
  33. paddingHorizontal: 24,
  34. },
  35. sectionTitle: {
  36. fontSize: 24,
  37. fontWeight: '600',
  38. },
  39. sectionDescription: {
  40. marginTop: 8,
  41. fontSize: 18,
  42. fontWeight: '400',
  43. },
  44. highlight: {
  45. fontWeight: '700',
  46. },
  47. });
  48. export default App;