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

2 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';
2 years ago
2 years ago
const App = props => {
2 years ago
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
2 years ago
<Navigation startUserGuide={() => props.start()} />
<AlertModal />
2 years ago
</PersistGate>
</Provider>
);
};
export default copilot({
labels: {
2 years ago
previous: 'قبلی',
next: 'بعدی',
skip: 'رد کردن',
finish: 'پایان',
2 years ago
},
})(App);