您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

30 行
903 B

  1. import "react-native-gesture-handler";
  2. import React from "react";
  3. import { Provider } from "react-redux";
  4. import { Provider as PaperProvider } from "react-native-paper";
  5. import { PersistGate } from "redux-persist/lib/integration/react";
  6. import { persistor, store } from "./src/store";
  7. import Theme from "./src/ui/Theme";
  8. import Header from "./src/header/Header";
  9. import Errors from "./src/errors/Errors";
  10. import AppContainer from "./src/AppContainer";
  11. import { SafeAreaView } from "react-native";
  12. const App = () => {
  13. return (
  14. <SafeAreaView style={{ flex: 1, backgroundColor: '#333333' }}>
  15. <Provider store={store}>
  16. <PersistGate persistor={persistor}>
  17. <PaperProvider theme={Theme}>
  18. <Header />
  19. <Errors />
  20. <AppContainer />
  21. </PaperProvider>
  22. </PersistGate>
  23. </Provider>
  24. </SafeAreaView>
  25. );
  26. };
  27. export default App;