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.
|
- /**
- * Sample React Native App
- * https://github.com/facebook/react-native
- *
- * @format
- * @flow
- */
-
- import React from "react";
- import { Provider } from "react-redux";
- import { Provider as PaperProvider } from "react-native-paper";
- import { PersistGate } from "redux-persist/lib/integration/react";
- import { persistor, store } from "./src/store";
- import Theme from "./src/ui/Theme";
- import Header from "./src/header/Header";
- import Errors from "./src/errors/Errors";
- import AppContainer from "./src/AppContainer";
-
- const App = () => {
- return (
- <Provider store={store}>
- <PersistGate persistor={persistor}>
- <PaperProvider theme={Theme}>
- <Header />
- <Errors />
- <AppContainer />
- </PaperProvider>
- </PersistGate>
- </Provider>
- );
- };
-
- export default App;
|