contact_app/App.js

28 lines
607 B
JavaScript
Raw Permalink Normal View History

2023-06-07 09:06:58 +07:00
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
*/
import React from 'react';
import AppNavigator from 'navigations';
import configureStore from 'store';
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/integration/react';
import Toast from 'react-native-toast-message';
const App = () => {
const {store, persistor} = configureStore();
return (
<Provider store={store}>
<PersistGate persistor={persistor}>
<AppNavigator />
<Toast />
</PersistGate>
</Provider>
);
};
export default App;