選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

App.js 903 B

1234567891011121314151617181920212223242526272829
  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;