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.

29 lines
810 B

3 years ago
import Navigation from './src/navigation';
import AlertModal from './src/components/AlertModal';
// import {SafeAreaView, useSafeAreaInsets} from 'react-native-safe-area-context';
import {Provider} from 'react-redux';
import {store, persistor} from './src/redux/store';
import React from 'react';
import {PersistGate} from 'redux-persist/integration/react';
import {copilot} from 'react-native-copilot';
3 years ago
3 years ago
const App = props => {
3 years ago
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
3 years ago
<Navigation startUserGuide={() => props.start()} />
<AlertModal />
3 years ago
</PersistGate>
</Provider>
);
};
export default copilot({
labels: {
3 years ago
previous: 'قبلی',
next: 'بعدی',
skip: 'رد کردن',
finish: 'پایان',
3 years ago
},
})(App);