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.
 
 
 
 
 
 

34 line
817 B

  1. /**
  2. * Sample React Native App
  3. * https://github.com/facebook/react-native
  4. *
  5. * @format
  6. * @flow
  7. */
  8. import React from "react";
  9. import { Provider } from "react-redux";
  10. import { Provider as PaperProvider } from "react-native-paper";
  11. import { PersistGate } from "redux-persist/lib/integration/react";
  12. import { persistor, store } from "./src/store";
  13. import Theme from "./src/ui/Theme";
  14. import Header from "./src/header/Header";
  15. import Errors from "./src/errors/Errors";
  16. import AppContainer from "./src/AppContainer";
  17. const App = () => {
  18. return (
  19. <Provider store={store}>
  20. <PersistGate persistor={persistor}>
  21. <PaperProvider theme={Theme}>
  22. <Header />
  23. <Errors />
  24. <AppContainer />
  25. </PaperProvider>
  26. </PersistGate>
  27. </Provider>
  28. );
  29. };
  30. export default App;